<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>StringUtils (Apache Commons Lang 3.3.2 API)</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="StringUtils (Apache Commons Lang 3.3.2 API)";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/StringUtils.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/commons/lang3/StringEscapeUtils.html" title="class in org.apache.commons.lang3"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/apache/commons/lang3/SystemUtils.html" title="class in org.apache.commons.lang3"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/commons/lang3/StringUtils.html" target="_top">Frames</a></li>
<li><a href="StringUtils.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.commons.lang3</div>
<h2 title="Class StringUtils" class="title">Class StringUtils</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.commons.lang3.StringUtils</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="strong">StringUtils</span>
extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block"><p>Operations on <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang"><code>String</code></a> that are
 <code>null</code> safe.</p>

 <ul>
  <li><b>IsEmpty/IsBlank</b>
      - checks if a String contains text</li>
  <li><b>Trim/Strip</b>
      - removes leading and trailing whitespace</li>
  <li><b>Equals</b>
      - compares two strings null-safe</li>
  <li><b>startsWith</b>
      - check if a String starts with a prefix null-safe</li>
  <li><b>endsWith</b>
      - check if a String ends with a suffix null-safe</li>
  <li><b>IndexOf/LastIndexOf/Contains</b>
      - null-safe index-of checks
  <li><b>IndexOfAny/LastIndexOfAny/IndexOfAnyBut/LastIndexOfAnyBut</b>
      - index-of any of a set of Strings</li>
  <li><b>ContainsOnly/ContainsNone/ContainsAny</b>
      - does String contains only/none/any of these characters</li>
  <li><b>Substring/Left/Right/Mid</b>
      - null-safe substring extractions</li>
  <li><b>SubstringBefore/SubstringAfter/SubstringBetween</b>
      - substring extraction relative to other strings</li>
  <li><b>Split/Join</b>
      - splits a String into an array of substrings and vice versa</li>
  <li><b>Remove/Delete</b>
      - removes part of a String</li>
  <li><b>Replace/Overlay</b>
      - Searches a String and replaces one String with another</li>
  <li><b>Chomp/Chop</b>
      - removes the last part of a String</li>
  <li><b>AppendIfMissing</b>
      - appends a suffix to the end of the String if not present</li>
  <li><b>PrependIfMissing</b>
      - prepends a prefix to the start of the String if not present</li>
  <li><b>LeftPad/RightPad/Center/Repeat</b>
      - pads a String</li>
  <li><b>UpperCase/LowerCase/SwapCase/Capitalize/Uncapitalize</b>
      - changes the case of a String</li>
  <li><b>CountMatches</b>
      - counts the number of occurrences of one String in another</li>
  <li><b>IsAlpha/IsNumeric/IsWhitespace/IsAsciiPrintable</b>
      - checks the characters in a String</li>
  <li><b>DefaultString</b>
      - protects against a null input String</li>
  <li><b>Reverse/ReverseDelimited</b>
      - reverses a String</li>
  <li><b>Abbreviate</b>
      - abbreviates a string using ellipsis</li>
  <li><b>Difference</b>
      - compares Strings and reports on their differences</li>
  <li><b>LevenshteinDistance</b>
      - the number of changes needed to change one String into another</li>
 </ul>

 <p>The <code>StringUtils</code> class defines certain words related to
 String handling.</p>

 <ul>
  <li>null - <code>null</code></li>
  <li>empty - a zero-length string (<code>""</code>)</li>
  <li>space - the space character (<code>' '</code>, char 32)</li>
  <li>whitespace - the characters defined by <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true#isWhitespace(char)" title="class or interface in java.lang"><code>Character.isWhitespace(char)</code></a></li>
  <li>trim - the characters &lt;= 32 as in <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#trim()" title="class or interface in java.lang"><code>String.trim()</code></a></li>
 </ul>

 <p><code>StringUtils</code> handles <code>null</code> input Strings quietly.
 That is to say that a <code>null</code> input will return <code>null</code>.
 Where a <code>boolean</code> or <code>int</code> is being returned
 details vary by method.</p>

 <p>A side effect of the <code>null</code> handling is that a
 <code>NullPointerException</code> should be considered a bug in
 <code>StringUtils</code>.</p>

 <p>Methods in this class give sample code to explain their operation.
 The symbol <code>*</code> is used to indicate any input including <code>null</code>.</p>

 <p>#ThreadSafe#</p></div>
<dl><dt><span class="strong">Since:</span></dt>
  <dd>1.0</dd>
<dt><span class="strong">Version:</span></dt>
  <dd>$Id: StringUtils.java 1583482 2014-03-31 22:54:57Z niallp $</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang"><code>String</code></a></dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!--   -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#CR">CR</a></strong></code>
<div class="block">A String for carriage return CR ("\r").</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#EMPTY">EMPTY</a></strong></code>
<div class="block">The empty String <code>""</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#INDEX_NOT_FOUND">INDEX_NOT_FOUND</a></strong></code>
<div class="block">Represents a failed index search.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#LF">LF</a></strong></code>
<div class="block">A String for linefeed LF ("\n").</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#SPACE">SPACE</a></strong></code>
<div class="block">A String for a space character.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#StringUtils()">StringUtils</a></strong>()</code>
<div class="block"><code>StringUtils</code> instances should NOT be constructed in
 standard programming.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#abbreviate(java.lang.String, int)">abbreviate</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
          int&nbsp;maxWidth)</code>
<div class="block">Abbreviates a String using ellipses.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#abbreviate(java.lang.String, int, int)">abbreviate</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
          int&nbsp;offset,
          int&nbsp;maxWidth)</code>
<div class="block">Abbreviates a String using ellipses.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#abbreviateMiddle(java.lang.String, java.lang.String, int)">abbreviateMiddle</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;middle,
                int&nbsp;length)</code>
<div class="block">Abbreviates a String to the length passed, replacing the middle characters with the supplied
 replacement String.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#appendIfMissing(java.lang.String, java.lang.CharSequence, java.lang.CharSequence...)">appendIfMissing</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
               <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;suffix,
               <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>...&nbsp;suffixes)</code>
<div class="block">Appends the suffix to the end of the string if the string does not
 already end with any the suffixes.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#appendIfMissingIgnoreCase(java.lang.String, java.lang.CharSequence, java.lang.CharSequence...)">appendIfMissingIgnoreCase</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                         <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;suffix,
                         <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>...&nbsp;suffixes)</code>
<div class="block">Appends the suffix to the end of the string if the string does not
 already end, case insensitive, with any of the suffixes.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#capitalize(java.lang.String)">capitalize</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</code>
<div class="block">Capitalizes a String changing the first letter to title case as
 per <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true#toTitleCase(char)" title="class or interface in java.lang"><code>Character.toTitleCase(char)</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#center(java.lang.String, int)">center</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
      int&nbsp;size)</code>
<div class="block">Centers a String in a larger String of size <code>size</code>
 using the space character (' ').</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#center(java.lang.String, int, char)">center</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
      int&nbsp;size,
      char&nbsp;padChar)</code>
<div class="block">Centers a String in a larger String of size <code>size</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#center(java.lang.String, int, java.lang.String)">center</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
      int&nbsp;size,
      <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;padStr)</code>
<div class="block">Centers a String in a larger String of size <code>size</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#chomp(java.lang.String)">chomp</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</code>
<div class="block">Removes one newline from end of a String if it's there,
 otherwise leave it alone.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#chomp(java.lang.String, java.lang.String)">chomp</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
     <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separator)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>This feature will be removed in Lang 4.0, use <a href="../../../../org/apache/commons/lang3/StringUtils.html#removeEnd(java.lang.String, java.lang.String)"><code>removeEnd(String, String)</code></a> instead</i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#chop(java.lang.String)">chop</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</code>
<div class="block">Remove the last character from a String.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#contains(java.lang.CharSequence, java.lang.CharSequence)">contains</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;seq,
        <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;searchSeq)</code>
<div class="block">Checks if CharSequence contains a search CharSequence, handling <code>null</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#contains(java.lang.CharSequence, int)">contains</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;seq,
        int&nbsp;searchChar)</code>
<div class="block">Checks if CharSequence contains a search character, handling <code>null</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#containsAny(java.lang.CharSequence, char...)">containsAny</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs,
           char...&nbsp;searchChars)</code>
<div class="block">Checks if the CharSequence contains any character in the given
 set of characters.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#containsAny(java.lang.CharSequence, java.lang.CharSequence)">containsAny</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs,
           <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;searchChars)</code>
<div class="block">
 Checks if the CharSequence contains any character in the given set of characters.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#containsIgnoreCase(java.lang.CharSequence, java.lang.CharSequence)">containsIgnoreCase</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;str,
                  <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;searchStr)</code>
<div class="block">Checks if CharSequence contains a search CharSequence irrespective of case,
 handling <code>null</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#containsNone(java.lang.CharSequence, char...)">containsNone</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs,
            char...&nbsp;searchChars)</code>
<div class="block">Checks that the CharSequence does not contain certain characters.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#containsNone(java.lang.CharSequence, java.lang.String)">containsNone</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs,
            <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;invalidChars)</code>
<div class="block">Checks that the CharSequence does not contain certain characters.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#containsOnly(java.lang.CharSequence, char...)">containsOnly</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs,
            char...&nbsp;valid)</code>
<div class="block">Checks if the CharSequence contains only certain characters.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#containsOnly(java.lang.CharSequence, java.lang.String)">containsOnly</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs,
            <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;validChars)</code>
<div class="block">Checks if the CharSequence contains only certain characters.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#containsWhitespace(java.lang.CharSequence)">containsWhitespace</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;seq)</code>
<div class="block">Check whether the given CharSequence contains any whitespace characters.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#countMatches(java.lang.CharSequence, java.lang.CharSequence)">countMatches</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;str,
            <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;sub)</code>
<div class="block">Counts how many times the substring appears in the larger string.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;T extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&gt;&nbsp;<br>T</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#defaultIfBlank(T, T)">defaultIfBlank</a></strong>(T&nbsp;str,
              T&nbsp;defaultStr)</code>
<div class="block">Returns either the passed in CharSequence, or if the CharSequence is
 whitespace, empty ("") or <code>null</code>, the value of <code>defaultStr</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static &lt;T extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&gt;&nbsp;<br>T</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#defaultIfEmpty(T, T)">defaultIfEmpty</a></strong>(T&nbsp;str,
              T&nbsp;defaultStr)</code>
<div class="block">Returns either the passed in CharSequence, or if the CharSequence is
 empty or <code>null</code>, the value of <code>defaultStr</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#defaultString(java.lang.String)">defaultString</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</code>
<div class="block">Returns either the passed in String,
 or if the String is <code>null</code>, an empty String ("").</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#defaultString(java.lang.String, java.lang.String)">defaultString</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
             <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;defaultStr)</code>
<div class="block">Returns either the passed in String, or if the String is
 <code>null</code>, the value of <code>defaultStr</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#deleteWhitespace(java.lang.String)">deleteWhitespace</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</code>
<div class="block">Deletes all whitespaces from a String as defined by
 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true#isWhitespace(char)" title="class or interface in java.lang"><code>Character.isWhitespace(char)</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#difference(java.lang.String, java.lang.String)">difference</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str1,
          <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str2)</code>
<div class="block">Compares two Strings, and returns the portion where they differ.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#endsWith(java.lang.CharSequence, java.lang.CharSequence)">endsWith</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;str,
        <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;suffix)</code>
<div class="block">Check if a CharSequence ends with a specified suffix.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#endsWithAny(java.lang.CharSequence, java.lang.CharSequence...)">endsWithAny</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;string,
           <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>...&nbsp;searchStrings)</code>
<div class="block">Check if a CharSequence ends with any of an array of specified strings.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#endsWithIgnoreCase(java.lang.CharSequence, java.lang.CharSequence)">endsWithIgnoreCase</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;str,
                  <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;suffix)</code>
<div class="block">Case insensitive check if a CharSequence ends with a specified suffix.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#equals(java.lang.CharSequence, java.lang.CharSequence)">equals</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs1,
      <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs2)</code>
<div class="block">Compares two CharSequences, returning <code>true</code> if they represent
 equal sequences of characters.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#equalsIgnoreCase(java.lang.CharSequence, java.lang.CharSequence)">equalsIgnoreCase</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;str1,
                <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;str2)</code>
<div class="block">Compares two CharSequences, returning <code>true</code> if they represent
 equal sequences of characters, ignoring case.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#getCommonPrefix(java.lang.String...)">getCommonPrefix</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;strs)</code>
<div class="block">Compares all Strings in an array and returns the initial sequence of
 characters that is common to all of them.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static double</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#getJaroWinklerDistance(java.lang.CharSequence, java.lang.CharSequence)">getJaroWinklerDistance</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;first,
                      <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;second)</code>
<div class="block">Find the Jaro Winkler Distance which indicates the similarity score between two Strings.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#getLevenshteinDistance(java.lang.CharSequence, java.lang.CharSequence)">getLevenshteinDistance</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;s,
                      <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;t)</code>
<div class="block">Find the Levenshtein distance between two Strings.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#getLevenshteinDistance(java.lang.CharSequence, java.lang.CharSequence, int)">getLevenshteinDistance</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;s,
                      <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;t,
                      int&nbsp;threshold)</code>
<div class="block">Find the Levenshtein distance between two Strings if it's less than or equal to a given
 threshold.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#indexOf(java.lang.CharSequence, java.lang.CharSequence)">indexOf</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;seq,
       <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;searchSeq)</code>
<div class="block">Finds the first index within a CharSequence, handling <code>null</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#indexOf(java.lang.CharSequence, java.lang.CharSequence, int)">indexOf</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;seq,
       <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;searchSeq,
       int&nbsp;startPos)</code>
<div class="block">Finds the first index within a CharSequence, handling <code>null</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#indexOf(java.lang.CharSequence, int)">indexOf</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;seq,
       int&nbsp;searchChar)</code>
<div class="block">Finds the first index within a CharSequence, handling <code>null</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#indexOf(java.lang.CharSequence, int, int)">indexOf</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;seq,
       int&nbsp;searchChar,
       int&nbsp;startPos)</code>
<div class="block">Finds the first index within a CharSequence from a start position,
 handling <code>null</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#indexOfAny(java.lang.CharSequence, char...)">indexOfAny</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs,
          char...&nbsp;searchChars)</code>
<div class="block">Search a CharSequence to find the first index of any
 character in the given set of characters.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#indexOfAny(java.lang.CharSequence, java.lang.CharSequence...)">indexOfAny</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;str,
          <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>...&nbsp;searchStrs)</code>
<div class="block">Find the first index of any of a set of potential substrings.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#indexOfAny(java.lang.CharSequence, java.lang.String)">indexOfAny</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs,
          <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;searchChars)</code>
<div class="block">Search a CharSequence to find the first index of any
 character in the given set of characters.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#indexOfAnyBut(java.lang.CharSequence, char...)">indexOfAnyBut</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs,
             char...&nbsp;searchChars)</code>
<div class="block">Searches a CharSequence to find the first index of any
 character not in the given set of characters.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#indexOfAnyBut(java.lang.CharSequence, java.lang.CharSequence)">indexOfAnyBut</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;seq,
             <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;searchChars)</code>
<div class="block">Search a CharSequence to find the first index of any
 character not in the given set of characters.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#indexOfDifference(java.lang.CharSequence...)">indexOfDifference</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>...&nbsp;css)</code>
<div class="block">Compares all CharSequences in an array and returns the index at which the
 CharSequences begin to differ.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#indexOfDifference(java.lang.CharSequence, java.lang.CharSequence)">indexOfDifference</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs1,
                 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs2)</code>
<div class="block">Compares two CharSequences, and returns the index at which the
 CharSequences begin to differ.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#indexOfIgnoreCase(java.lang.CharSequence, java.lang.CharSequence)">indexOfIgnoreCase</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;str,
                 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;searchStr)</code>
<div class="block">Case in-sensitive find of the first index within a CharSequence.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#indexOfIgnoreCase(java.lang.CharSequence, java.lang.CharSequence, int)">indexOfIgnoreCase</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;str,
                 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;searchStr,
                 int&nbsp;startPos)</code>
<div class="block">Case in-sensitive find of the first index within a CharSequence
 from the specified position.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#isAllLowerCase(java.lang.CharSequence)">isAllLowerCase</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs)</code>
<div class="block">Checks if the CharSequence contains only lowercase characters.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#isAllUpperCase(java.lang.CharSequence)">isAllUpperCase</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs)</code>
<div class="block">Checks if the CharSequence contains only uppercase characters.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#isAlpha(java.lang.CharSequence)">isAlpha</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs)</code>
<div class="block">Checks if the CharSequence contains only Unicode letters.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#isAlphanumeric(java.lang.CharSequence)">isAlphanumeric</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs)</code>
<div class="block">Checks if the CharSequence contains only Unicode letters or digits.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#isAlphanumericSpace(java.lang.CharSequence)">isAlphanumericSpace</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs)</code>
<div class="block">Checks if the CharSequence contains only Unicode letters, digits
 or space (<code>' '</code>).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#isAlphaSpace(java.lang.CharSequence)">isAlphaSpace</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs)</code>
<div class="block">Checks if the CharSequence contains only Unicode letters and
 space (' ').</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#isAnyBlank(java.lang.CharSequence...)">isAnyBlank</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>...&nbsp;css)</code>
<div class="block">Checks if any one of the CharSequences are blank ("") or null and not whitespace only..</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#isAnyEmpty(java.lang.CharSequence...)">isAnyEmpty</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>...&nbsp;css)</code>
<div class="block">Checks if any one of the CharSequences are empty ("") or null.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#isAsciiPrintable(java.lang.CharSequence)">isAsciiPrintable</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs)</code>
<div class="block">Checks if the CharSequence contains only ASCII printable characters.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#isBlank(java.lang.CharSequence)">isBlank</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs)</code>
<div class="block">Checks if a CharSequence is whitespace, empty ("") or null.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#isEmpty(java.lang.CharSequence)">isEmpty</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs)</code>
<div class="block">Checks if a CharSequence is empty ("") or null.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#isNoneBlank(java.lang.CharSequence...)">isNoneBlank</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>...&nbsp;css)</code>
<div class="block">Checks if none of the CharSequences are blank ("") or null and whitespace only..</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#isNoneEmpty(java.lang.CharSequence...)">isNoneEmpty</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>...&nbsp;css)</code>
<div class="block">Checks if none of the CharSequences are empty ("") or null.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#isNotBlank(java.lang.CharSequence)">isNotBlank</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs)</code>
<div class="block">Checks if a CharSequence is not empty (""), not null and not whitespace only.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#isNotEmpty(java.lang.CharSequence)">isNotEmpty</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs)</code>
<div class="block">Checks if a CharSequence is not empty ("") and not null.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#isNumeric(java.lang.CharSequence)">isNumeric</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs)</code>
<div class="block">Checks if the CharSequence contains only Unicode digits.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#isNumericSpace(java.lang.CharSequence)">isNumericSpace</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs)</code>
<div class="block">Checks if the CharSequence contains only Unicode digits or space
 (<code>' '</code>).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#isWhitespace(java.lang.CharSequence)">isWhitespace</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs)</code>
<div class="block">Checks if the CharSequence contains only whitespace.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#join(byte[], char)">join</a></strong>(byte[]&nbsp;array,
    char&nbsp;separator)</code>
<div class="block">
 Joins the elements of the provided array into a single String containing the provided list of elements.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#join(byte[], char, int, int)">join</a></strong>(byte[]&nbsp;array,
    char&nbsp;separator,
    int&nbsp;startIndex,
    int&nbsp;endIndex)</code>
<div class="block">
 Joins the elements of the provided array into a single String containing the provided list of elements.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#join(char[], char)">join</a></strong>(char[]&nbsp;array,
    char&nbsp;separator)</code>
<div class="block">
 Joins the elements of the provided array into a single String containing the provided list of elements.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#join(char[], char, int, int)">join</a></strong>(char[]&nbsp;array,
    char&nbsp;separator,
    int&nbsp;startIndex,
    int&nbsp;endIndex)</code>
<div class="block">
 Joins the elements of the provided array into a single String containing the provided list of elements.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#join(double[], char)">join</a></strong>(double[]&nbsp;array,
    char&nbsp;separator)</code>
<div class="block">
 Joins the elements of the provided array into a single String containing the provided list of elements.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#join(double[], char, int, int)">join</a></strong>(double[]&nbsp;array,
    char&nbsp;separator,
    int&nbsp;startIndex,
    int&nbsp;endIndex)</code>
<div class="block">
 Joins the elements of the provided array into a single String containing the provided list of elements.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#join(float[], char)">join</a></strong>(float[]&nbsp;array,
    char&nbsp;separator)</code>
<div class="block">
 Joins the elements of the provided array into a single String containing the provided list of elements.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#join(float[], char, int, int)">join</a></strong>(float[]&nbsp;array,
    char&nbsp;separator,
    int&nbsp;startIndex,
    int&nbsp;endIndex)</code>
<div class="block">
 Joins the elements of the provided array into a single String containing the provided list of elements.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#join(int[], char)">join</a></strong>(int[]&nbsp;array,
    char&nbsp;separator)</code>
<div class="block">
 Joins the elements of the provided array into a single String containing the provided list of elements.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#join(int[], char, int, int)">join</a></strong>(int[]&nbsp;array,
    char&nbsp;separator,
    int&nbsp;startIndex,
    int&nbsp;endIndex)</code>
<div class="block">
 Joins the elements of the provided array into a single String containing the provided list of elements.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#join(java.lang.Iterable, char)">join</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;?&gt;&nbsp;iterable,
    char&nbsp;separator)</code>
<div class="block">Joins the elements of the provided <code>Iterable</code> into
 a single String containing the provided elements.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#join(java.lang.Iterable, java.lang.String)">join</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;?&gt;&nbsp;iterable,
    <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separator)</code>
<div class="block">Joins the elements of the provided <code>Iterable</code> into
 a single String containing the provided elements.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#join(java.util.Iterator, char)">join</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&lt;?&gt;&nbsp;iterator,
    char&nbsp;separator)</code>
<div class="block">Joins the elements of the provided <code>Iterator</code> into
 a single String containing the provided elements.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#join(java.util.Iterator, java.lang.String)">join</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&lt;?&gt;&nbsp;iterator,
    <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separator)</code>
<div class="block">Joins the elements of the provided <code>Iterator</code> into
 a single String containing the provided elements.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#join(long[], char)">join</a></strong>(long[]&nbsp;array,
    char&nbsp;separator)</code>
<div class="block">
 Joins the elements of the provided array into a single String containing the provided list of elements.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#join(long[], char, int, int)">join</a></strong>(long[]&nbsp;array,
    char&nbsp;separator,
    int&nbsp;startIndex,
    int&nbsp;endIndex)</code>
<div class="block">
 Joins the elements of the provided array into a single String containing the provided list of elements.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#join(java.lang.Object[], char)">join</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array,
    char&nbsp;separator)</code>
<div class="block">Joins the elements of the provided array into a single String
 containing the provided list of elements.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#join(java.lang.Object[], char, int, int)">join</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array,
    char&nbsp;separator,
    int&nbsp;startIndex,
    int&nbsp;endIndex)</code>
<div class="block">Joins the elements of the provided array into a single String
 containing the provided list of elements.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#join(java.lang.Object[], java.lang.String)">join</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array,
    <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separator)</code>
<div class="block">Joins the elements of the provided array into a single String
 containing the provided list of elements.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#join(java.lang.Object[], java.lang.String, int, int)">join</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array,
    <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separator,
    int&nbsp;startIndex,
    int&nbsp;endIndex)</code>
<div class="block">Joins the elements of the provided array into a single String
 containing the provided list of elements.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#join(short[], char)">join</a></strong>(short[]&nbsp;array,
    char&nbsp;separator)</code>
<div class="block">
 Joins the elements of the provided array into a single String containing the provided list of elements.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#join(short[], char, int, int)">join</a></strong>(short[]&nbsp;array,
    char&nbsp;separator,
    int&nbsp;startIndex,
    int&nbsp;endIndex)</code>
<div class="block">
 Joins the elements of the provided array into a single String containing the provided list of elements.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#join(T...)">join</a></strong>(T...&nbsp;elements)</code>
<div class="block">Joins the elements of the provided array into a single String
 containing the provided list of elements.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#lastIndexOf(java.lang.CharSequence, java.lang.CharSequence)">lastIndexOf</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;seq,
           <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;searchSeq)</code>
<div class="block">Finds the last index within a CharSequence, handling <code>null</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#lastIndexOf(java.lang.CharSequence, java.lang.CharSequence, int)">lastIndexOf</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;seq,
           <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;searchSeq,
           int&nbsp;startPos)</code>
<div class="block">Finds the last index within a CharSequence, handling <code>null</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#lastIndexOf(java.lang.CharSequence, int)">lastIndexOf</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;seq,
           int&nbsp;searchChar)</code>
<div class="block">Finds the last index within a CharSequence, handling <code>null</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#lastIndexOf(java.lang.CharSequence, int, int)">lastIndexOf</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;seq,
           int&nbsp;searchChar,
           int&nbsp;startPos)</code>
<div class="block">Finds the last index within a CharSequence from a start position,
 handling <code>null</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#lastIndexOfAny(java.lang.CharSequence, java.lang.CharSequence...)">lastIndexOfAny</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;str,
              <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>...&nbsp;searchStrs)</code>
<div class="block">Find the latest index of any of a set of potential substrings.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#lastIndexOfIgnoreCase(java.lang.CharSequence, java.lang.CharSequence)">lastIndexOfIgnoreCase</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;str,
                     <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;searchStr)</code>
<div class="block">Case in-sensitive find of the last index within a CharSequence.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#lastIndexOfIgnoreCase(java.lang.CharSequence, java.lang.CharSequence, int)">lastIndexOfIgnoreCase</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;str,
                     <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;searchStr,
                     int&nbsp;startPos)</code>
<div class="block">Case in-sensitive find of the last index within a CharSequence
 from the specified position.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#lastOrdinalIndexOf(java.lang.CharSequence, java.lang.CharSequence, int)">lastOrdinalIndexOf</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;str,
                  <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;searchStr,
                  int&nbsp;ordinal)</code>
<div class="block">Finds the n-th last index within a String, handling <code>null</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#left(java.lang.String, int)">left</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
    int&nbsp;len)</code>
<div class="block">Gets the leftmost <code>len</code> characters of a String.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#leftPad(java.lang.String, int)">leftPad</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
       int&nbsp;size)</code>
<div class="block">Left pad a String with spaces (' ').</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#leftPad(java.lang.String, int, char)">leftPad</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
       int&nbsp;size,
       char&nbsp;padChar)</code>
<div class="block">Left pad a String with a specified character.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#leftPad(java.lang.String, int, java.lang.String)">leftPad</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
       int&nbsp;size,
       <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;padStr)</code>
<div class="block">Left pad a String with a specified String.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#length(java.lang.CharSequence)">length</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs)</code>
<div class="block">Gets a CharSequence length or <code>0</code> if the CharSequence is
 <code>null</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#lowerCase(java.lang.String)">lowerCase</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</code>
<div class="block">Converts a String to lower case as per <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#toLowerCase()" title="class or interface in java.lang"><code>String.toLowerCase()</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#lowerCase(java.lang.String, java.util.Locale)">lowerCase</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
         <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a>&nbsp;locale)</code>
<div class="block">Converts a String to lower case as per <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#toLowerCase(java.util.Locale)" title="class or interface in java.lang"><code>String.toLowerCase(Locale)</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#mid(java.lang.String, int, int)">mid</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
   int&nbsp;pos,
   int&nbsp;len)</code>
<div class="block">Gets <code>len</code> characters from the middle of a String.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#normalizeSpace(java.lang.String)">normalizeSpace</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</code>
<div class="block">
 Similar to <a
 href="http://www.w3.org/TR/xpath/#function-normalize-space">http://www.w3.org/TR/xpath/#function-normalize
 -space</a>
 
 
 The function returns the argument string with whitespace normalized by using
 <code><a href="../../../../org/apache/commons/lang3/StringUtils.html#trim(java.lang.String)"><code>trim(String)</code></a></code> to remove leading and trailing whitespace
 and then replacing sequences of whitespace characters by a single space.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#ordinalIndexOf(java.lang.CharSequence, java.lang.CharSequence, int)">ordinalIndexOf</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;str,
              <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;searchStr,
              int&nbsp;ordinal)</code>
<div class="block">Finds the n-th index within a CharSequence, handling <code>null</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#overlay(java.lang.String, java.lang.String, int, int)">overlay</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
       <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;overlay,
       int&nbsp;start,
       int&nbsp;end)</code>
<div class="block">Overlays part of a String with another String.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#prependIfMissing(java.lang.String, java.lang.CharSequence, java.lang.CharSequence...)">prependIfMissing</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;prefix,
                <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>...&nbsp;prefixes)</code>
<div class="block">Prepends the prefix to the start of the string if the string does not
 already start with any of the prefixes.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#prependIfMissingIgnoreCase(java.lang.String, java.lang.CharSequence, java.lang.CharSequence...)">prependIfMissingIgnoreCase</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                          <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;prefix,
                          <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>...&nbsp;prefixes)</code>
<div class="block">Prepends the prefix to the start of the string if the string does not
 already start, case insensitive, with any of the prefixes.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#remove(java.lang.String, char)">remove</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
      char&nbsp;remove)</code>
<div class="block">Removes all occurrences of a character from within the source string.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#remove(java.lang.String, java.lang.String)">remove</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
      <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;remove)</code>
<div class="block">Removes all occurrences of a substring from within the source string.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#removeEnd(java.lang.String, java.lang.String)">removeEnd</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
         <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;remove)</code>
<div class="block">Removes a substring only if it is at the end of a source string,
 otherwise returns the source string.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#removeEndIgnoreCase(java.lang.String, java.lang.String)">removeEndIgnoreCase</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                   <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;remove)</code>
<div class="block">Case insensitive removal of a substring if it is at the end of a source string,
 otherwise returns the source string.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#removePattern(java.lang.String, java.lang.String)">removePattern</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;source,
             <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;regex)</code>
<div class="block">Removes each substring of the source String that matches the given regular expression using the DOTALL option.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#removeStart(java.lang.String, java.lang.String)">removeStart</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
           <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;remove)</code>
<div class="block">Removes a substring only if it is at the beginning of a source string,
 otherwise returns the source string.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#removeStartIgnoreCase(java.lang.String, java.lang.String)">removeStartIgnoreCase</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                     <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;remove)</code>
<div class="block">Case insensitive removal of a substring if it is at the beginning of a source string,
 otherwise returns the source string.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#repeat(char, int)">repeat</a></strong>(char&nbsp;ch,
      int&nbsp;repeat)</code>
<div class="block">Returns padding using the specified delimiter repeated
 to a given length.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#repeat(java.lang.String, int)">repeat</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
      int&nbsp;repeat)</code>
<div class="block">Repeat a String <code>repeat</code> times to form a
 new String.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#repeat(java.lang.String, java.lang.String, int)">repeat</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
      <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separator,
      int&nbsp;repeat)</code>
<div class="block">Repeat a String <code>repeat</code> times to form a
 new String, with a String separator injected each time.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#replace(java.lang.String, java.lang.String, java.lang.String)">replace</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;text,
       <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;searchString,
       <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;replacement)</code>
<div class="block">Replaces all occurrences of a String within another String.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#replace(java.lang.String, java.lang.String, java.lang.String, int)">replace</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;text,
       <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;searchString,
       <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;replacement,
       int&nbsp;max)</code>
<div class="block">Replaces a String with another String inside a larger String,
 for the first <code>max</code> values of the search String.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#replaceChars(java.lang.String, char, char)">replaceChars</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
            char&nbsp;searchChar,
            char&nbsp;replaceChar)</code>
<div class="block">Replaces all occurrences of a character in a String with another.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#replaceChars(java.lang.String, java.lang.String, java.lang.String)">replaceChars</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
            <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;searchChars,
            <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;replaceChars)</code>
<div class="block">Replaces multiple characters in a String in one go.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#replaceEach(java.lang.String, java.lang.String[], java.lang.String[])">replaceEach</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;text,
           <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;searchList,
           <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;replacementList)</code>
<div class="block">
 Replaces all occurrences of Strings within another String.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#replaceEachRepeatedly(java.lang.String, java.lang.String[], java.lang.String[])">replaceEachRepeatedly</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;text,
                     <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;searchList,
                     <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;replacementList)</code>
<div class="block">
 Replaces all occurrences of Strings within another String.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#replaceOnce(java.lang.String, java.lang.String, java.lang.String)">replaceOnce</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;text,
           <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;searchString,
           <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;replacement)</code>
<div class="block">Replaces a String with another String inside a larger String, once.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#replacePattern(java.lang.String, java.lang.String, java.lang.String)">replacePattern</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;source,
              <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;regex,
              <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;replacement)</code>
<div class="block">Replaces each substring of the source String that matches the given regular expression with the given
 replacement using the <a href="http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html?is-external=true#DOTALL" title="class or interface in java.util.regex"><code>Pattern.DOTALL</code></a> option.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#reverse(java.lang.String)">reverse</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</code>
<div class="block">Reverses a String as per <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/StringBuilder.html?is-external=true#reverse()" title="class or interface in java.lang"><code>StringBuilder.reverse()</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#reverseDelimited(java.lang.String, char)">reverseDelimited</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                char&nbsp;separatorChar)</code>
<div class="block">Reverses a String that is delimited by a specific character.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#right(java.lang.String, int)">right</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
     int&nbsp;len)</code>
<div class="block">Gets the rightmost <code>len</code> characters of a String.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#rightPad(java.lang.String, int)">rightPad</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
        int&nbsp;size)</code>
<div class="block">Right pad a String with spaces (' ').</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#rightPad(java.lang.String, int, char)">rightPad</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
        int&nbsp;size,
        char&nbsp;padChar)</code>
<div class="block">Right pad a String with a specified character.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#rightPad(java.lang.String, int, java.lang.String)">rightPad</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
        int&nbsp;size,
        <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;padStr)</code>
<div class="block">Right pad a String with a specified String.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#split(java.lang.String)">split</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</code>
<div class="block">Splits the provided text into an array, using whitespace as the
 separator.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#split(java.lang.String, char)">split</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
     char&nbsp;separatorChar)</code>
<div class="block">Splits the provided text into an array, separator specified.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#split(java.lang.String, java.lang.String)">split</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
     <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separatorChars)</code>
<div class="block">Splits the provided text into an array, separators specified.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#split(java.lang.String, java.lang.String, int)">split</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
     <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separatorChars,
     int&nbsp;max)</code>
<div class="block">Splits the provided text into an array with a maximum length,
 separators specified.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#splitByCharacterType(java.lang.String)">splitByCharacterType</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</code>
<div class="block">Splits a String by Character type as returned by
 <code>java.lang.Character.getType(char)</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#splitByCharacterTypeCamelCase(java.lang.String)">splitByCharacterTypeCamelCase</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</code>
<div class="block">Splits a String by Character type as returned by
 <code>java.lang.Character.getType(char)</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#splitByWholeSeparator(java.lang.String, java.lang.String)">splitByWholeSeparator</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                     <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separator)</code>
<div class="block">Splits the provided text into an array, separator string specified.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#splitByWholeSeparator(java.lang.String, java.lang.String, int)">splitByWholeSeparator</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                     <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separator,
                     int&nbsp;max)</code>
<div class="block">Splits the provided text into an array, separator string specified.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#splitByWholeSeparatorPreserveAllTokens(java.lang.String, java.lang.String)">splitByWholeSeparatorPreserveAllTokens</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                                      <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separator)</code>
<div class="block">Splits the provided text into an array, separator string specified.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#splitByWholeSeparatorPreserveAllTokens(java.lang.String, java.lang.String, int)">splitByWholeSeparatorPreserveAllTokens</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                                      <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separator,
                                      int&nbsp;max)</code>
<div class="block">Splits the provided text into an array, separator string specified.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#splitPreserveAllTokens(java.lang.String)">splitPreserveAllTokens</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</code>
<div class="block">Splits the provided text into an array, using whitespace as the
 separator, preserving all tokens, including empty tokens created by
 adjacent separators.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#splitPreserveAllTokens(java.lang.String, char)">splitPreserveAllTokens</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                      char&nbsp;separatorChar)</code>
<div class="block">Splits the provided text into an array, separator specified,
 preserving all tokens, including empty tokens created by adjacent
 separators.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#splitPreserveAllTokens(java.lang.String, java.lang.String)">splitPreserveAllTokens</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                      <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separatorChars)</code>
<div class="block">Splits the provided text into an array, separators specified,
 preserving all tokens, including empty tokens created by adjacent
 separators.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#splitPreserveAllTokens(java.lang.String, java.lang.String, int)">splitPreserveAllTokens</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                      <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separatorChars,
                      int&nbsp;max)</code>
<div class="block">Splits the provided text into an array with a maximum length,
 separators specified, preserving all tokens, including empty tokens
 created by adjacent separators.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#startsWith(java.lang.CharSequence, java.lang.CharSequence)">startsWith</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;str,
          <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;prefix)</code>
<div class="block">Check if a CharSequence starts with a specified prefix.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#startsWithAny(java.lang.CharSequence, java.lang.CharSequence...)">startsWithAny</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;string,
             <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>...&nbsp;searchStrings)</code>
<div class="block">Check if a CharSequence starts with any of an array of specified strings.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#startsWithIgnoreCase(java.lang.CharSequence, java.lang.CharSequence)">startsWithIgnoreCase</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;str,
                    <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;prefix)</code>
<div class="block">Case insensitive check if a CharSequence starts with a specified prefix.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#strip(java.lang.String)">strip</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</code>
<div class="block">Strips whitespace from the start and end of a String.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#strip(java.lang.String, java.lang.String)">strip</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
     <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;stripChars)</code>
<div class="block">Strips any of a set of characters from the start and end of a String.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#stripAccents(java.lang.String)">stripAccents</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;input)</code>
<div class="block">Removes diacritics (~= accents) from a string.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#stripAll(java.lang.String...)">stripAll</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;strs)</code>
<div class="block">Strips whitespace from the start and end of every String in an array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#stripAll(java.lang.String[], java.lang.String)">stripAll</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;strs,
        <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;stripChars)</code>
<div class="block">Strips any of a set of characters from the start and end of every
 String in an array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#stripEnd(java.lang.String, java.lang.String)">stripEnd</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
        <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;stripChars)</code>
<div class="block">Strips any of a set of characters from the end of a String.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#stripStart(java.lang.String, java.lang.String)">stripStart</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
          <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;stripChars)</code>
<div class="block">Strips any of a set of characters from the start of a String.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#stripToEmpty(java.lang.String)">stripToEmpty</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</code>
<div class="block">Strips whitespace from the start and end of a String  returning
 an empty String if <code>null</code> input.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#stripToNull(java.lang.String)">stripToNull</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</code>
<div class="block">Strips whitespace from the start and end of a String  returning
 <code>null</code> if the String is empty ("") after the strip.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#substring(java.lang.String, int)">substring</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
         int&nbsp;start)</code>
<div class="block">Gets a substring from the specified String avoiding exceptions.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#substring(java.lang.String, int, int)">substring</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
         int&nbsp;start,
         int&nbsp;end)</code>
<div class="block">Gets a substring from the specified String avoiding exceptions.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#substringAfter(java.lang.String, java.lang.String)">substringAfter</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
              <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separator)</code>
<div class="block">Gets the substring after the first occurrence of a separator.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#substringAfterLast(java.lang.String, java.lang.String)">substringAfterLast</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                  <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separator)</code>
<div class="block">Gets the substring after the last occurrence of a separator.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#substringBefore(java.lang.String, java.lang.String)">substringBefore</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
               <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separator)</code>
<div class="block">Gets the substring before the first occurrence of a separator.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#substringBeforeLast(java.lang.String, java.lang.String)">substringBeforeLast</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                   <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separator)</code>
<div class="block">Gets the substring before the last occurrence of a separator.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#substringBetween(java.lang.String, java.lang.String)">substringBetween</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tag)</code>
<div class="block">Gets the String that is nested in between two instances of the
 same String.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#substringBetween(java.lang.String, java.lang.String, java.lang.String)">substringBetween</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;open,
                <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;close)</code>
<div class="block">Gets the String that is nested in between two Strings.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#substringsBetween(java.lang.String, java.lang.String, java.lang.String)">substringsBetween</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;open,
                 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;close)</code>
<div class="block">Searches a String for substrings delimited by a start and end tag,
 returning all matching substrings in an array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#swapCase(java.lang.String)">swapCase</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</code>
<div class="block">Swaps the case of a String changing upper and title case to
 lower case, and lower case to upper case.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#toEncodedString(byte[], java.nio.charset.Charset)">toEncodedString</a></strong>(byte[]&nbsp;bytes,
               <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</a>&nbsp;charset)</code>
<div class="block">Converts a <code>byte[]</code> to a String using the specified character encoding.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#toString(byte[], java.lang.String)">toString</a></strong>(byte[]&nbsp;bytes,
        <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;charsetName)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>use <a href="../../../../org/apache/commons/lang3/StringUtils.html#toEncodedString(byte[], java.nio.charset.Charset)"><code>toEncodedString(byte[], Charset)</code></a> instead of String constants in your code</i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#trim(java.lang.String)">trim</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</code>
<div class="block">Removes control characters (char &lt;= 32) from both
 ends of this String, handling <code>null</code> by returning
 <code>null</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#trimToEmpty(java.lang.String)">trimToEmpty</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</code>
<div class="block">Removes control characters (char &lt;= 32) from both
 ends of this String returning an empty String ("") if the String
 is empty ("") after the trim or if it is <code>null</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#trimToNull(java.lang.String)">trimToNull</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</code>
<div class="block">Removes control characters (char &lt;= 32) from both
 ends of this String returning <code>null</code> if the String is
 empty ("") after the trim or if it is <code>null</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#uncapitalize(java.lang.String)">uncapitalize</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</code>
<div class="block">Uncapitalizes a String changing the first letter to title case as
 per <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true#toLowerCase(char)" title="class or interface in java.lang"><code>Character.toLowerCase(char)</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#upperCase(java.lang.String)">upperCase</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</code>
<div class="block">Converts a String to upper case as per <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#toUpperCase()" title="class or interface in java.lang"><code>String.toUpperCase()</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/StringUtils.html#upperCase(java.lang.String, java.util.Locale)">upperCase</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
         <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a>&nbsp;locale)</code>
<div class="block">Converts a String to upper case as per <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#toUpperCase(java.util.Locale)" title="class or interface in java.lang"><code>String.toUpperCase(Locale)</code></a>.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!--   -->
</a>
<h3>Field Detail</h3>
<a name="SPACE">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SPACE</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> SPACE</pre>
<div class="block">A String for a space character.</div>
<dl><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.commons.lang3.StringUtils.SPACE">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="EMPTY">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>EMPTY</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> EMPTY</pre>
<div class="block">The empty String <code>""</code>.</div>
<dl><dt><span class="strong">Since:</span></dt>
  <dd>2.0</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.commons.lang3.StringUtils.EMPTY">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="LF">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LF</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> LF</pre>
<div class="block">A String for linefeed LF ("\n").</div>
<dl><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="http://docs.oracle.com/javase/specs/jls/se7/html/jls-3.html#jls-3.10.6">JLF: Escape Sequences
      for Character and String Literals</a>, 
<a href="../../../../constant-values.html#org.apache.commons.lang3.StringUtils.LF">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="CR">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CR</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> CR</pre>
<div class="block">A String for carriage return CR ("\r").</div>
<dl><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="http://docs.oracle.com/javase/specs/jls/se7/html/jls-3.html#jls-3.10.6">JLF: Escape Sequences
      for Character and String Literals</a>, 
<a href="../../../../constant-values.html#org.apache.commons.lang3.StringUtils.CR">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="INDEX_NOT_FOUND">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>INDEX_NOT_FOUND</h4>
<pre>public static final&nbsp;int INDEX_NOT_FOUND</pre>
<div class="block">Represents a failed index search.</div>
<dl><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.commons.lang3.StringUtils.INDEX_NOT_FOUND">Constant Field Values</a></dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="StringUtils()">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>StringUtils</h4>
<pre>public&nbsp;StringUtils()</pre>
<div class="block"><p><code>StringUtils</code> instances should NOT be constructed in
 standard programming. Instead, the class should be used as
 <code>StringUtils.trim(" foo ");</code>.</p>

 <p>This constructor is public to permit tools that require a JavaBean
 instance to operate.</p></div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="isEmpty(java.lang.CharSequence)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isEmpty</h4>
<pre>public static&nbsp;boolean&nbsp;isEmpty(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs)</pre>
<div class="block"><p>Checks if a CharSequence is empty ("") or null.</p>

 <pre>
 StringUtils.isEmpty(null)      = true
 StringUtils.isEmpty("")        = true
 StringUtils.isEmpty(" ")       = false
 StringUtils.isEmpty("bob")     = false
 StringUtils.isEmpty("  bob  ") = false
 </pre>

 <p>NOTE: This method changed in Lang version 2.0.
 It no longer trims the CharSequence.
 That functionality is available in isBlank().</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cs</code> - the CharSequence to check, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the CharSequence is empty or null</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0 Changed signature from isEmpty(String) to isEmpty(CharSequence)</dd></dl>
</li>
</ul>
<a name="isNotEmpty(java.lang.CharSequence)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNotEmpty</h4>
<pre>public static&nbsp;boolean&nbsp;isNotEmpty(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs)</pre>
<div class="block"><p>Checks if a CharSequence is not empty ("") and not null.</p>

 <pre>
 StringUtils.isNotEmpty(null)      = false
 StringUtils.isNotEmpty("")        = false
 StringUtils.isNotEmpty(" ")       = true
 StringUtils.isNotEmpty("bob")     = true
 StringUtils.isNotEmpty("  bob  ") = true
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cs</code> - the CharSequence to check, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the CharSequence is not empty and not null</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0 Changed signature from isNotEmpty(String) to isNotEmpty(CharSequence)</dd></dl>
</li>
</ul>
<a name="isAnyEmpty(java.lang.CharSequence...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAnyEmpty</h4>
<pre>public static&nbsp;boolean&nbsp;isAnyEmpty(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>...&nbsp;css)</pre>
<div class="block"><p>Checks if any one of the CharSequences are empty ("") or null.</p>

 <pre>
 StringUtils.isAnyEmpty(null)             = true
 StringUtils.isAnyEmpty(null, "foo")      = true
 StringUtils.isAnyEmpty("", "bar")        = true
 StringUtils.isAnyEmpty("bob", "")        = true
 StringUtils.isAnyEmpty("  bob  ", null)  = true
 StringUtils.isAnyEmpty(" ", "bar")       = false
 StringUtils.isAnyEmpty("foo", "bar")     = false
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>css</code> - the CharSequences to check, may be null or empty</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if any of the CharSequences are empty or null</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd></dl>
</li>
</ul>
<a name="isNoneEmpty(java.lang.CharSequence...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNoneEmpty</h4>
<pre>public static&nbsp;boolean&nbsp;isNoneEmpty(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>...&nbsp;css)</pre>
<div class="block"><p>Checks if none of the CharSequences are empty ("") or null.</p>

 <pre>
 StringUtils.isNoneEmpty(null)             = false
 StringUtils.isNoneEmpty(null, "foo")      = false
 StringUtils.isNoneEmpty("", "bar")        = false
 StringUtils.isNoneEmpty("bob", "")        = false
 StringUtils.isNoneEmpty("  bob  ", null)  = false
 StringUtils.isNoneEmpty(" ", "bar")       = true
 StringUtils.isNoneEmpty("foo", "bar")     = true
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>css</code> - the CharSequences to check, may be null or empty</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if none of the CharSequences are empty or null</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd></dl>
</li>
</ul>
<a name="isBlank(java.lang.CharSequence)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isBlank</h4>
<pre>public static&nbsp;boolean&nbsp;isBlank(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs)</pre>
<div class="block"><p>Checks if a CharSequence is whitespace, empty ("") or null.</p>

 <pre>
 StringUtils.isBlank(null)      = true
 StringUtils.isBlank("")        = true
 StringUtils.isBlank(" ")       = true
 StringUtils.isBlank("bob")     = false
 StringUtils.isBlank("  bob  ") = false
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cs</code> - the CharSequence to check, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the CharSequence is null, empty or whitespace</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0, 3.0 Changed signature from isBlank(String) to isBlank(CharSequence)</dd></dl>
</li>
</ul>
<a name="isNotBlank(java.lang.CharSequence)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNotBlank</h4>
<pre>public static&nbsp;boolean&nbsp;isNotBlank(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs)</pre>
<div class="block"><p>Checks if a CharSequence is not empty (""), not null and not whitespace only.</p>

 <pre>
 StringUtils.isNotBlank(null)      = false
 StringUtils.isNotBlank("")        = false
 StringUtils.isNotBlank(" ")       = false
 StringUtils.isNotBlank("bob")     = true
 StringUtils.isNotBlank("  bob  ") = true
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cs</code> - the CharSequence to check, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the CharSequence is
  not empty and not null and not whitespace</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0, 3.0 Changed signature from isNotBlank(String) to isNotBlank(CharSequence)</dd></dl>
</li>
</ul>
<a name="isAnyBlank(java.lang.CharSequence...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAnyBlank</h4>
<pre>public static&nbsp;boolean&nbsp;isAnyBlank(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>...&nbsp;css)</pre>
<div class="block"><p>Checks if any one of the CharSequences are blank ("") or null and not whitespace only..</p>

 <pre>
 StringUtils.isAnyBlank(null)             = true
 StringUtils.isAnyBlank(null, "foo")      = true
 StringUtils.isAnyBlank(null, null)       = true
 StringUtils.isAnyBlank("", "bar")        = true
 StringUtils.isAnyBlank("bob", "")        = true
 StringUtils.isAnyBlank("  bob  ", null)  = true
 StringUtils.isAnyBlank(" ", "bar")       = true
 StringUtils.isAnyBlank("foo", "bar")     = false
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>css</code> - the CharSequences to check, may be null or empty</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if any of the CharSequences are blank or null or whitespace only</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd></dl>
</li>
</ul>
<a name="isNoneBlank(java.lang.CharSequence...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNoneBlank</h4>
<pre>public static&nbsp;boolean&nbsp;isNoneBlank(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>...&nbsp;css)</pre>
<div class="block"><p>Checks if none of the CharSequences are blank ("") or null and whitespace only..</p>

 <pre>
 StringUtils.isNoneBlank(null)             = false
 StringUtils.isNoneBlank(null, "foo")      = false
 StringUtils.isNoneBlank(null, null)       = false
 StringUtils.isNoneBlank("", "bar")        = false
 StringUtils.isNoneBlank("bob", "")        = false
 StringUtils.isNoneBlank("  bob  ", null)  = false
 StringUtils.isNoneBlank(" ", "bar")       = false
 StringUtils.isNoneBlank("foo", "bar")     = true
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>css</code> - the CharSequences to check, may be null or empty</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if none of the CharSequences are blank or null or whitespace only</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd></dl>
</li>
</ul>
<a name="trim(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>trim</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;trim(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</pre>
<div class="block"><p>Removes control characters (char &lt;= 32) from both
 ends of this String, handling <code>null</code> by returning
 <code>null</code>.</p>

 <p>The String is trimmed using <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#trim()" title="class or interface in java.lang"><code>String.trim()</code></a>.
 Trim removes start and end characters &lt;= 32.
 To strip whitespace use <a href="../../../../org/apache/commons/lang3/StringUtils.html#strip(java.lang.String)"><code>strip(String)</code></a>.</p>

 <p>To trim your choice of characters, use the
 <a href="../../../../org/apache/commons/lang3/StringUtils.html#strip(java.lang.String, java.lang.String)"><code>strip(String, String)</code></a> methods.</p>

 <pre>
 StringUtils.trim(null)          = null
 StringUtils.trim("")            = ""
 StringUtils.trim("     ")       = ""
 StringUtils.trim("abc")         = "abc"
 StringUtils.trim("    abc    ") = "abc"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to be trimmed, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the trimmed string, <code>null</code> if null String input</dd></dl>
</li>
</ul>
<a name="trimToNull(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>trimToNull</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;trimToNull(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</pre>
<div class="block"><p>Removes control characters (char &lt;= 32) from both
 ends of this String returning <code>null</code> if the String is
 empty ("") after the trim or if it is <code>null</code>.

 <p>The String is trimmed using <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#trim()" title="class or interface in java.lang"><code>String.trim()</code></a>.
 Trim removes start and end characters &lt;= 32.
 To strip whitespace use <a href="../../../../org/apache/commons/lang3/StringUtils.html#stripToNull(java.lang.String)"><code>stripToNull(String)</code></a>.</p>

 <pre>
 StringUtils.trimToNull(null)          = null
 StringUtils.trimToNull("")            = null
 StringUtils.trimToNull("     ")       = null
 StringUtils.trimToNull("abc")         = "abc"
 StringUtils.trimToNull("    abc    ") = "abc"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to be trimmed, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the trimmed String,
  <code>null</code> if only chars &lt;= 32, empty or null String input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0</dd></dl>
</li>
</ul>
<a name="trimToEmpty(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>trimToEmpty</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;trimToEmpty(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</pre>
<div class="block"><p>Removes control characters (char &lt;= 32) from both
 ends of this String returning an empty String ("") if the String
 is empty ("") after the trim or if it is <code>null</code>.

 <p>The String is trimmed using <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#trim()" title="class or interface in java.lang"><code>String.trim()</code></a>.
 Trim removes start and end characters &lt;= 32.
 To strip whitespace use <a href="../../../../org/apache/commons/lang3/StringUtils.html#stripToEmpty(java.lang.String)"><code>stripToEmpty(String)</code></a>.</p>

 <pre>
 StringUtils.trimToEmpty(null)          = ""
 StringUtils.trimToEmpty("")            = ""
 StringUtils.trimToEmpty("     ")       = ""
 StringUtils.trimToEmpty("abc")         = "abc"
 StringUtils.trimToEmpty("    abc    ") = "abc"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to be trimmed, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the trimmed String, or an empty String if <code>null</code> input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0</dd></dl>
</li>
</ul>
<a name="strip(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>strip</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;strip(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</pre>
<div class="block"><p>Strips whitespace from the start and end of a String.</p>

 <p>This is similar to <a href="../../../../org/apache/commons/lang3/StringUtils.html#trim(java.lang.String)"><code>trim(String)</code></a> but removes whitespace.
 Whitespace is defined by <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true#isWhitespace(char)" title="class or interface in java.lang"><code>Character.isWhitespace(char)</code></a>.</p>

 <p>A <code>null</code> input String returns <code>null</code>.</p>

 <pre>
 StringUtils.strip(null)     = null
 StringUtils.strip("")       = ""
 StringUtils.strip("   ")    = ""
 StringUtils.strip("abc")    = "abc"
 StringUtils.strip("  abc")  = "abc"
 StringUtils.strip("abc  ")  = "abc"
 StringUtils.strip(" abc ")  = "abc"
 StringUtils.strip(" ab c ") = "ab c"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to remove whitespace from, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the stripped String, <code>null</code> if null String input</dd></dl>
</li>
</ul>
<a name="stripToNull(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stripToNull</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;stripToNull(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</pre>
<div class="block"><p>Strips whitespace from the start and end of a String  returning
 <code>null</code> if the String is empty ("") after the strip.</p>

 <p>This is similar to <a href="../../../../org/apache/commons/lang3/StringUtils.html#trimToNull(java.lang.String)"><code>trimToNull(String)</code></a> but removes whitespace.
 Whitespace is defined by <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true#isWhitespace(char)" title="class or interface in java.lang"><code>Character.isWhitespace(char)</code></a>.</p>

 <pre>
 StringUtils.stripToNull(null)     = null
 StringUtils.stripToNull("")       = null
 StringUtils.stripToNull("   ")    = null
 StringUtils.stripToNull("abc")    = "abc"
 StringUtils.stripToNull("  abc")  = "abc"
 StringUtils.stripToNull("abc  ")  = "abc"
 StringUtils.stripToNull(" abc ")  = "abc"
 StringUtils.stripToNull(" ab c ") = "ab c"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to be stripped, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the stripped String,
  <code>null</code> if whitespace, empty or null String input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0</dd></dl>
</li>
</ul>
<a name="stripToEmpty(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stripToEmpty</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;stripToEmpty(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</pre>
<div class="block"><p>Strips whitespace from the start and end of a String  returning
 an empty String if <code>null</code> input.</p>

 <p>This is similar to <a href="../../../../org/apache/commons/lang3/StringUtils.html#trimToEmpty(java.lang.String)"><code>trimToEmpty(String)</code></a> but removes whitespace.
 Whitespace is defined by <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true#isWhitespace(char)" title="class or interface in java.lang"><code>Character.isWhitespace(char)</code></a>.</p>

 <pre>
 StringUtils.stripToEmpty(null)     = ""
 StringUtils.stripToEmpty("")       = ""
 StringUtils.stripToEmpty("   ")    = ""
 StringUtils.stripToEmpty("abc")    = "abc"
 StringUtils.stripToEmpty("  abc")  = "abc"
 StringUtils.stripToEmpty("abc  ")  = "abc"
 StringUtils.stripToEmpty(" abc ")  = "abc"
 StringUtils.stripToEmpty(" ab c ") = "ab c"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to be stripped, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the trimmed String, or an empty String if <code>null</code> input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0</dd></dl>
</li>
</ul>
<a name="strip(java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>strip</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;strip(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
           <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;stripChars)</pre>
<div class="block"><p>Strips any of a set of characters from the start and end of a String.
 This is similar to <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#trim()" title="class or interface in java.lang"><code>String.trim()</code></a> but allows the characters
 to be stripped to be controlled.</p>

 <p>A <code>null</code> input String returns <code>null</code>.
 An empty string ("") input returns the empty string.</p>

 <p>If the stripChars String is <code>null</code>, whitespace is
 stripped as defined by <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true#isWhitespace(char)" title="class or interface in java.lang"><code>Character.isWhitespace(char)</code></a>.
 Alternatively use <a href="../../../../org/apache/commons/lang3/StringUtils.html#strip(java.lang.String)"><code>strip(String)</code></a>.</p>

 <pre>
 StringUtils.strip(null, *)          = null
 StringUtils.strip("", *)            = ""
 StringUtils.strip("abc", null)      = "abc"
 StringUtils.strip("  abc", null)    = "abc"
 StringUtils.strip("abc  ", null)    = "abc"
 StringUtils.strip(" abc ", null)    = "abc"
 StringUtils.strip("  abcyx", "xyz") = "  abc"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to remove characters from, may be null</dd><dd><code>stripChars</code> - the characters to remove, null treated as whitespace</dd>
<dt><span class="strong">Returns:</span></dt><dd>the stripped String, <code>null</code> if null String input</dd></dl>
</li>
</ul>
<a name="stripStart(java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stripStart</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;stripStart(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;stripChars)</pre>
<div class="block"><p>Strips any of a set of characters from the start of a String.</p>

 <p>A <code>null</code> input String returns <code>null</code>.
 An empty string ("") input returns the empty string.</p>

 <p>If the stripChars String is <code>null</code>, whitespace is
 stripped as defined by <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true#isWhitespace(char)" title="class or interface in java.lang"><code>Character.isWhitespace(char)</code></a>.</p>

 <pre>
 StringUtils.stripStart(null, *)          = null
 StringUtils.stripStart("", *)            = ""
 StringUtils.stripStart("abc", "")        = "abc"
 StringUtils.stripStart("abc", null)      = "abc"
 StringUtils.stripStart("  abc", null)    = "abc"
 StringUtils.stripStart("abc  ", null)    = "abc  "
 StringUtils.stripStart(" abc ", null)    = "abc "
 StringUtils.stripStart("yxabc  ", "xyz") = "abc  "
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to remove characters from, may be null</dd><dd><code>stripChars</code> - the characters to remove, null treated as whitespace</dd>
<dt><span class="strong">Returns:</span></dt><dd>the stripped String, <code>null</code> if null String input</dd></dl>
</li>
</ul>
<a name="stripEnd(java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stripEnd</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;stripEnd(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
              <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;stripChars)</pre>
<div class="block"><p>Strips any of a set of characters from the end of a String.</p>

 <p>A <code>null</code> input String returns <code>null</code>.
 An empty string ("") input returns the empty string.</p>

 <p>If the stripChars String is <code>null</code>, whitespace is
 stripped as defined by <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true#isWhitespace(char)" title="class or interface in java.lang"><code>Character.isWhitespace(char)</code></a>.</p>

 <pre>
 StringUtils.stripEnd(null, *)          = null
 StringUtils.stripEnd("", *)            = ""
 StringUtils.stripEnd("abc", "")        = "abc"
 StringUtils.stripEnd("abc", null)      = "abc"
 StringUtils.stripEnd("  abc", null)    = "  abc"
 StringUtils.stripEnd("abc  ", null)    = "abc"
 StringUtils.stripEnd(" abc ", null)    = " abc"
 StringUtils.stripEnd("  abcyx", "xyz") = "  abc"
 StringUtils.stripEnd("120.00", ".0")   = "12"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to remove characters from, may be null</dd><dd><code>stripChars</code> - the set of characters to remove, null treated as whitespace</dd>
<dt><span class="strong">Returns:</span></dt><dd>the stripped String, <code>null</code> if null String input</dd></dl>
</li>
</ul>
<a name="stripAll(java.lang.String...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stripAll</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;stripAll(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;strs)</pre>
<div class="block"><p>Strips whitespace from the start and end of every String in an array.
 Whitespace is defined by <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true#isWhitespace(char)" title="class or interface in java.lang"><code>Character.isWhitespace(char)</code></a>.</p>

 <p>A new array is returned each time, except for length zero.
 A <code>null</code> array will return <code>null</code>.
 An empty array will return itself.
 A <code>null</code> array entry will be ignored.</p>

 <pre>
 StringUtils.stripAll(null)             = null
 StringUtils.stripAll([])               = []
 StringUtils.stripAll(["abc", "  abc"]) = ["abc", "abc"]
 StringUtils.stripAll(["abc  ", null])  = ["abc", null]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>strs</code> - the array to remove whitespace from, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the stripped Strings, <code>null</code> if null array input</dd></dl>
</li>
</ul>
<a name="stripAll(java.lang.String[], java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stripAll</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;stripAll(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;strs,
                <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;stripChars)</pre>
<div class="block"><p>Strips any of a set of characters from the start and end of every
 String in an array.</p>
 <p>Whitespace is defined by <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true#isWhitespace(char)" title="class or interface in java.lang"><code>Character.isWhitespace(char)</code></a>.</p>

 <p>A new array is returned each time, except for length zero.
 A <code>null</code> array will return <code>null</code>.
 An empty array will return itself.
 A <code>null</code> array entry will be ignored.
 A <code>null</code> stripChars will strip whitespace as defined by
 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true#isWhitespace(char)" title="class or interface in java.lang"><code>Character.isWhitespace(char)</code></a>.</p>

 <pre>
 StringUtils.stripAll(null, *)                = null
 StringUtils.stripAll([], *)                  = []
 StringUtils.stripAll(["abc", "  abc"], null) = ["abc", "abc"]
 StringUtils.stripAll(["abc  ", null], null)  = ["abc", null]
 StringUtils.stripAll(["abc  ", null], "yz")  = ["abc  ", null]
 StringUtils.stripAll(["yabcz", null], "yz")  = ["abc", null]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>strs</code> - the array to remove characters from, may be null</dd><dd><code>stripChars</code> - the characters to remove, null treated as whitespace</dd>
<dt><span class="strong">Returns:</span></dt><dd>the stripped Strings, <code>null</code> if null array input</dd></dl>
</li>
</ul>
<a name="stripAccents(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stripAccents</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;stripAccents(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;input)</pre>
<div class="block"><p>Removes diacritics (~= accents) from a string. The case will not be altered.</p>
 <p>For instance, '&agrave;' will be replaced by 'a'.</p>
 <p>Note that ligatures will be left as is.</p>

 <pre>
 StringUtils.stripAccents(null)                = null
 StringUtils.stripAccents("")                  = ""
 StringUtils.stripAccents("control")           = "control"
 StringUtils.stripAccents("&eacute;clair")     = "eclair"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>input</code> - String to be stripped</dd>
<dt><span class="strong">Returns:</span></dt><dd>input text with diacritics removed</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0</dd></dl>
</li>
</ul>
<a name="equals(java.lang.CharSequence, java.lang.CharSequence)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public static&nbsp;boolean&nbsp;equals(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs1,
             <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs2)</pre>
<div class="block"><p>Compares two CharSequences, returning <code>true</code> if they represent
 equal sequences of characters.</p>

 <p><code>null</code>s are handled without exceptions. Two <code>null</code>
 references are considered to be equal. The comparison is case sensitive.</p>

 <pre>
 StringUtils.equals(null, null)   = true
 StringUtils.equals(null, "abc")  = false
 StringUtils.equals("abc", null)  = false
 StringUtils.equals("abc", "abc") = true
 StringUtils.equals("abc", "ABC") = false
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cs1</code> - the first CharSequence, may be <code>null</code></dd><dd><code>cs2</code> - the second CharSequence, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the CharSequences are equal (case-sensitive), or both <code>null</code></dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0 Changed signature from equals(String, String) to equals(CharSequence, CharSequence)</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang"><code>Object.equals(Object)</code></a></dd></dl>
</li>
</ul>
<a name="equalsIgnoreCase(java.lang.CharSequence, java.lang.CharSequence)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equalsIgnoreCase</h4>
<pre>public static&nbsp;boolean&nbsp;equalsIgnoreCase(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;str1,
                       <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;str2)</pre>
<div class="block"><p>Compares two CharSequences, returning <code>true</code> if they represent
 equal sequences of characters, ignoring case.</p>

 <p><code>null</code>s are handled without exceptions. Two <code>null</code>
 references are considered equal. Comparison is case insensitive.</p>

 <pre>
 StringUtils.equalsIgnoreCase(null, null)   = true
 StringUtils.equalsIgnoreCase(null, "abc")  = false
 StringUtils.equalsIgnoreCase("abc", null)  = false
 StringUtils.equalsIgnoreCase("abc", "abc") = true
 StringUtils.equalsIgnoreCase("abc", "ABC") = true
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str1</code> - the first CharSequence, may be null</dd><dd><code>str2</code> - the second CharSequence, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the CharSequence are equal, case insensitive, or
  both <code>null</code></dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0 Changed signature from equalsIgnoreCase(String, String) to equalsIgnoreCase(CharSequence, CharSequence)</dd></dl>
</li>
</ul>
<a name="indexOf(java.lang.CharSequence, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOf</h4>
<pre>public static&nbsp;int&nbsp;indexOf(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;seq,
          int&nbsp;searchChar)</pre>
<div class="block"><p>Finds the first index within a CharSequence, handling <code>null</code>.
 This method uses <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#indexOf(int, int)" title="class or interface in java.lang"><code>String.indexOf(int, int)</code></a> if possible.</p>

 <p>A <code>null</code> or empty ("") CharSequence will return <code>INDEX_NOT_FOUND (-1)</code>.</p>

 <pre>
 StringUtils.indexOf(null, *)         = -1
 StringUtils.indexOf("", *)           = -1
 StringUtils.indexOf("aabaabaa", 'a') = 0
 StringUtils.indexOf("aabaabaa", 'b') = 2
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>seq</code> - the CharSequence to check, may be null</dd><dd><code>searchChar</code> - the character to find</dd>
<dt><span class="strong">Returns:</span></dt><dd>the first index of the search character,
  -1 if no match or <code>null</code> string input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0, 3.0 Changed signature from indexOf(String, int) to indexOf(CharSequence, int)</dd></dl>
</li>
</ul>
<a name="indexOf(java.lang.CharSequence, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOf</h4>
<pre>public static&nbsp;int&nbsp;indexOf(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;seq,
          int&nbsp;searchChar,
          int&nbsp;startPos)</pre>
<div class="block"><p>Finds the first index within a CharSequence from a start position,
 handling <code>null</code>.
 This method uses <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#indexOf(int, int)" title="class or interface in java.lang"><code>String.indexOf(int, int)</code></a> if possible.</p>

 <p>A <code>null</code> or empty ("") CharSequence will return <code>(INDEX_NOT_FOUND) -1</code>.
 A negative start position is treated as zero.
 A start position greater than the string length returns <code>-1</code>.</p>

 <pre>
 StringUtils.indexOf(null, *, *)          = -1
 StringUtils.indexOf("", *, *)            = -1
 StringUtils.indexOf("aabaabaa", 'b', 0)  = 2
 StringUtils.indexOf("aabaabaa", 'b', 3)  = 5
 StringUtils.indexOf("aabaabaa", 'b', 9)  = -1
 StringUtils.indexOf("aabaabaa", 'b', -1) = 2
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>seq</code> - the CharSequence to check, may be null</dd><dd><code>searchChar</code> - the character to find</dd><dd><code>startPos</code> - the start position, negative treated as zero</dd>
<dt><span class="strong">Returns:</span></dt><dd>the first index of the search character (always &ge; startPos),
  -1 if no match or <code>null</code> string input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0, 3.0 Changed signature from indexOf(String, int, int) to indexOf(CharSequence, int, int)</dd></dl>
</li>
</ul>
<a name="indexOf(java.lang.CharSequence, java.lang.CharSequence)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOf</h4>
<pre>public static&nbsp;int&nbsp;indexOf(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;seq,
          <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;searchSeq)</pre>
<div class="block"><p>Finds the first index within a CharSequence, handling <code>null</code>.
 This method uses <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#indexOf(java.lang.String, int)" title="class or interface in java.lang"><code>String.indexOf(String, int)</code></a> if possible.</p>

 <p>A <code>null</code> CharSequence will return <code>-1</code>.</p>

 <pre>
 StringUtils.indexOf(null, *)          = -1
 StringUtils.indexOf(*, null)          = -1
 StringUtils.indexOf("", "")           = 0
 StringUtils.indexOf("", *)            = -1 (except when * = "")
 StringUtils.indexOf("aabaabaa", "a")  = 0
 StringUtils.indexOf("aabaabaa", "b")  = 2
 StringUtils.indexOf("aabaabaa", "ab") = 1
 StringUtils.indexOf("aabaabaa", "")   = 0
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>seq</code> - the CharSequence to check, may be null</dd><dd><code>searchSeq</code> - the CharSequence to find, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the first index of the search CharSequence,
  -1 if no match or <code>null</code> string input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0, 3.0 Changed signature from indexOf(String, String) to indexOf(CharSequence, CharSequence)</dd></dl>
</li>
</ul>
<a name="indexOf(java.lang.CharSequence, java.lang.CharSequence, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOf</h4>
<pre>public static&nbsp;int&nbsp;indexOf(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;seq,
          <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;searchSeq,
          int&nbsp;startPos)</pre>
<div class="block"><p>Finds the first index within a CharSequence, handling <code>null</code>.
 This method uses <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#indexOf(java.lang.String, int)" title="class or interface in java.lang"><code>String.indexOf(String, int)</code></a> if possible.</p>

 <p>A <code>null</code> CharSequence will return <code>-1</code>.
 A negative start position is treated as zero.
 An empty ("") search CharSequence always matches.
 A start position greater than the string length only matches
 an empty search CharSequence.</p>

 <pre>
 StringUtils.indexOf(null, *, *)          = -1
 StringUtils.indexOf(*, null, *)          = -1
 StringUtils.indexOf("", "", 0)           = 0
 StringUtils.indexOf("", *, 0)            = -1 (except when * = "")
 StringUtils.indexOf("aabaabaa", "a", 0)  = 0
 StringUtils.indexOf("aabaabaa", "b", 0)  = 2
 StringUtils.indexOf("aabaabaa", "ab", 0) = 1
 StringUtils.indexOf("aabaabaa", "b", 3)  = 5
 StringUtils.indexOf("aabaabaa", "b", 9)  = -1
 StringUtils.indexOf("aabaabaa", "b", -1) = 2
 StringUtils.indexOf("aabaabaa", "", 2)   = 2
 StringUtils.indexOf("abc", "", 9)        = 3
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>seq</code> - the CharSequence to check, may be null</dd><dd><code>searchSeq</code> - the CharSequence to find, may be null</dd><dd><code>startPos</code> - the start position, negative treated as zero</dd>
<dt><span class="strong">Returns:</span></dt><dd>the first index of the search CharSequence (always &ge; startPos),
  -1 if no match or <code>null</code> string input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0, 3.0 Changed signature from indexOf(String, String, int) to indexOf(CharSequence, CharSequence, int)</dd></dl>
</li>
</ul>
<a name="ordinalIndexOf(java.lang.CharSequence, java.lang.CharSequence, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ordinalIndexOf</h4>
<pre>public static&nbsp;int&nbsp;ordinalIndexOf(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;str,
                 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;searchStr,
                 int&nbsp;ordinal)</pre>
<div class="block"><p>Finds the n-th index within a CharSequence, handling <code>null</code>.
 This method uses <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#indexOf(java.lang.String)" title="class or interface in java.lang"><code>String.indexOf(String)</code></a> if possible.</p>

 <p>A <code>null</code> CharSequence will return <code>-1</code>.</p>

 <pre>
 StringUtils.ordinalIndexOf(null, *, *)          = -1
 StringUtils.ordinalIndexOf(*, null, *)          = -1
 StringUtils.ordinalIndexOf("", "", *)           = 0
 StringUtils.ordinalIndexOf("aabaabaa", "a", 1)  = 0
 StringUtils.ordinalIndexOf("aabaabaa", "a", 2)  = 1
 StringUtils.ordinalIndexOf("aabaabaa", "b", 1)  = 2
 StringUtils.ordinalIndexOf("aabaabaa", "b", 2)  = 5
 StringUtils.ordinalIndexOf("aabaabaa", "ab", 1) = 1
 StringUtils.ordinalIndexOf("aabaabaa", "ab", 2) = 4
 StringUtils.ordinalIndexOf("aabaabaa", "", 1)   = 0
 StringUtils.ordinalIndexOf("aabaabaa", "", 2)   = 0
 </pre>

 <p>Note that 'head(CharSequence str, int n)' may be implemented as: </p>

 <pre>
   str.substring(0, lastOrdinalIndexOf(str, "\n", n))
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the CharSequence to check, may be null</dd><dd><code>searchStr</code> - the CharSequence to find, may be null</dd><dd><code>ordinal</code> - the n-th <code>searchStr</code> to find</dd>
<dt><span class="strong">Returns:</span></dt><dd>the n-th index of the search CharSequence,
  <code>-1</code> (<code>INDEX_NOT_FOUND</code>) if no match or <code>null</code> string input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1, 3.0 Changed signature from ordinalIndexOf(String, String, int) to ordinalIndexOf(CharSequence, CharSequence, int)</dd></dl>
</li>
</ul>
<a name="indexOfIgnoreCase(java.lang.CharSequence, java.lang.CharSequence)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOfIgnoreCase</h4>
<pre>public static&nbsp;int&nbsp;indexOfIgnoreCase(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;str,
                    <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;searchStr)</pre>
<div class="block"><p>Case in-sensitive find of the first index within a CharSequence.</p>

 <p>A <code>null</code> CharSequence will return <code>-1</code>.
 A negative start position is treated as zero.
 An empty ("") search CharSequence always matches.
 A start position greater than the string length only matches
 an empty search CharSequence.</p>

 <pre>
 StringUtils.indexOfIgnoreCase(null, *)          = -1
 StringUtils.indexOfIgnoreCase(*, null)          = -1
 StringUtils.indexOfIgnoreCase("", "")           = 0
 StringUtils.indexOfIgnoreCase("aabaabaa", "a")  = 0
 StringUtils.indexOfIgnoreCase("aabaabaa", "b")  = 2
 StringUtils.indexOfIgnoreCase("aabaabaa", "ab") = 1
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the CharSequence to check, may be null</dd><dd><code>searchStr</code> - the CharSequence to find, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the first index of the search CharSequence,
  -1 if no match or <code>null</code> string input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5, 3.0 Changed signature from indexOfIgnoreCase(String, String) to indexOfIgnoreCase(CharSequence, CharSequence)</dd></dl>
</li>
</ul>
<a name="indexOfIgnoreCase(java.lang.CharSequence, java.lang.CharSequence, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOfIgnoreCase</h4>
<pre>public static&nbsp;int&nbsp;indexOfIgnoreCase(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;str,
                    <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;searchStr,
                    int&nbsp;startPos)</pre>
<div class="block"><p>Case in-sensitive find of the first index within a CharSequence
 from the specified position.</p>

 <p>A <code>null</code> CharSequence will return <code>-1</code>.
 A negative start position is treated as zero.
 An empty ("") search CharSequence always matches.
 A start position greater than the string length only matches
 an empty search CharSequence.</p>

 <pre>
 StringUtils.indexOfIgnoreCase(null, *, *)          = -1
 StringUtils.indexOfIgnoreCase(*, null, *)          = -1
 StringUtils.indexOfIgnoreCase("", "", 0)           = 0
 StringUtils.indexOfIgnoreCase("aabaabaa", "A", 0)  = 0
 StringUtils.indexOfIgnoreCase("aabaabaa", "B", 0)  = 2
 StringUtils.indexOfIgnoreCase("aabaabaa", "AB", 0) = 1
 StringUtils.indexOfIgnoreCase("aabaabaa", "B", 3)  = 5
 StringUtils.indexOfIgnoreCase("aabaabaa", "B", 9)  = -1
 StringUtils.indexOfIgnoreCase("aabaabaa", "B", -1) = 2
 StringUtils.indexOfIgnoreCase("aabaabaa", "", 2)   = 2
 StringUtils.indexOfIgnoreCase("abc", "", 9)        = 3
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the CharSequence to check, may be null</dd><dd><code>searchStr</code> - the CharSequence to find, may be null</dd><dd><code>startPos</code> - the start position, negative treated as zero</dd>
<dt><span class="strong">Returns:</span></dt><dd>the first index of the search CharSequence (always &ge; startPos),
  -1 if no match or <code>null</code> string input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5, 3.0 Changed signature from indexOfIgnoreCase(String, String, int) to indexOfIgnoreCase(CharSequence, CharSequence, int)</dd></dl>
</li>
</ul>
<a name="lastIndexOf(java.lang.CharSequence, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lastIndexOf</h4>
<pre>public static&nbsp;int&nbsp;lastIndexOf(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;seq,
              int&nbsp;searchChar)</pre>
<div class="block"><p>Finds the last index within a CharSequence, handling <code>null</code>.
 This method uses <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#lastIndexOf(int)" title="class or interface in java.lang"><code>String.lastIndexOf(int)</code></a> if possible.</p>

 <p>A <code>null</code> or empty ("") CharSequence will return <code>-1</code>.</p>

 <pre>
 StringUtils.lastIndexOf(null, *)         = -1
 StringUtils.lastIndexOf("", *)           = -1
 StringUtils.lastIndexOf("aabaabaa", 'a') = 7
 StringUtils.lastIndexOf("aabaabaa", 'b') = 5
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>seq</code> - the CharSequence to check, may be null</dd><dd><code>searchChar</code> - the character to find</dd>
<dt><span class="strong">Returns:</span></dt><dd>the last index of the search character,
  -1 if no match or <code>null</code> string input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0, 3.0 Changed signature from lastIndexOf(String, int) to lastIndexOf(CharSequence, int)</dd></dl>
</li>
</ul>
<a name="lastIndexOf(java.lang.CharSequence, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lastIndexOf</h4>
<pre>public static&nbsp;int&nbsp;lastIndexOf(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;seq,
              int&nbsp;searchChar,
              int&nbsp;startPos)</pre>
<div class="block"><p>Finds the last index within a CharSequence from a start position,
 handling <code>null</code>.
 This method uses <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#lastIndexOf(int, int)" title="class or interface in java.lang"><code>String.lastIndexOf(int, int)</code></a> if possible.</p>

 <p>A <code>null</code> or empty ("") CharSequence will return <code>-1</code>.
 A negative start position returns <code>-1</code>.
 A start position greater than the string length searches the whole string.
 The search starts at the startPos and works backwards; matches starting after the start
 position are ignored.
 </p>

 <pre>
 StringUtils.lastIndexOf(null, *, *)          = -1
 StringUtils.lastIndexOf("", *,  *)           = -1
 StringUtils.lastIndexOf("aabaabaa", 'b', 8)  = 5
 StringUtils.lastIndexOf("aabaabaa", 'b', 4)  = 2
 StringUtils.lastIndexOf("aabaabaa", 'b', 0)  = -1
 StringUtils.lastIndexOf("aabaabaa", 'b', 9)  = 5
 StringUtils.lastIndexOf("aabaabaa", 'b', -1) = -1
 StringUtils.lastIndexOf("aabaabaa", 'a', 0)  = 0
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>seq</code> - the CharSequence to check, may be null</dd><dd><code>searchChar</code> - the character to find</dd><dd><code>startPos</code> - the start position</dd>
<dt><span class="strong">Returns:</span></dt><dd>the last index of the search character (always &le; startPos),
  -1 if no match or <code>null</code> string input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0, 3.0 Changed signature from lastIndexOf(String, int, int) to lastIndexOf(CharSequence, int, int)</dd></dl>
</li>
</ul>
<a name="lastIndexOf(java.lang.CharSequence, java.lang.CharSequence)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lastIndexOf</h4>
<pre>public static&nbsp;int&nbsp;lastIndexOf(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;seq,
              <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;searchSeq)</pre>
<div class="block"><p>Finds the last index within a CharSequence, handling <code>null</code>.
 This method uses <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#lastIndexOf(java.lang.String)" title="class or interface in java.lang"><code>String.lastIndexOf(String)</code></a> if possible.</p>

 <p>A <code>null</code> CharSequence will return <code>-1</code>.</p>

 <pre>
 StringUtils.lastIndexOf(null, *)          = -1
 StringUtils.lastIndexOf(*, null)          = -1
 StringUtils.lastIndexOf("", "")           = 0
 StringUtils.lastIndexOf("aabaabaa", "a")  = 7
 StringUtils.lastIndexOf("aabaabaa", "b")  = 5
 StringUtils.lastIndexOf("aabaabaa", "ab") = 4
 StringUtils.lastIndexOf("aabaabaa", "")   = 8
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>seq</code> - the CharSequence to check, may be null</dd><dd><code>searchSeq</code> - the CharSequence to find, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the last index of the search String,
  -1 if no match or <code>null</code> string input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0, 3.0 Changed signature from lastIndexOf(String, String) to lastIndexOf(CharSequence, CharSequence)</dd></dl>
</li>
</ul>
<a name="lastOrdinalIndexOf(java.lang.CharSequence, java.lang.CharSequence, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lastOrdinalIndexOf</h4>
<pre>public static&nbsp;int&nbsp;lastOrdinalIndexOf(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;str,
                     <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;searchStr,
                     int&nbsp;ordinal)</pre>
<div class="block"><p>Finds the n-th last index within a String, handling <code>null</code>.
 This method uses <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#lastIndexOf(java.lang.String)" title="class or interface in java.lang"><code>String.lastIndexOf(String)</code></a>.</p>

 <p>A <code>null</code> String will return <code>-1</code>.</p>

 <pre>
 StringUtils.lastOrdinalIndexOf(null, *, *)          = -1
 StringUtils.lastOrdinalIndexOf(*, null, *)          = -1
 StringUtils.lastOrdinalIndexOf("", "", *)           = 0
 StringUtils.lastOrdinalIndexOf("aabaabaa", "a", 1)  = 7
 StringUtils.lastOrdinalIndexOf("aabaabaa", "a", 2)  = 6
 StringUtils.lastOrdinalIndexOf("aabaabaa", "b", 1)  = 5
 StringUtils.lastOrdinalIndexOf("aabaabaa", "b", 2)  = 2
 StringUtils.lastOrdinalIndexOf("aabaabaa", "ab", 1) = 4
 StringUtils.lastOrdinalIndexOf("aabaabaa", "ab", 2) = 1
 StringUtils.lastOrdinalIndexOf("aabaabaa", "", 1)   = 8
 StringUtils.lastOrdinalIndexOf("aabaabaa", "", 2)   = 8
 </pre>

 <p>Note that 'tail(CharSequence str, int n)' may be implemented as: </p>

 <pre>
   str.substring(lastOrdinalIndexOf(str, "\n", n) + 1)
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the CharSequence to check, may be null</dd><dd><code>searchStr</code> - the CharSequence to find, may be null</dd><dd><code>ordinal</code> - the n-th last <code>searchStr</code> to find</dd>
<dt><span class="strong">Returns:</span></dt><dd>the n-th last index of the search CharSequence,
  <code>-1</code> (<code>INDEX_NOT_FOUND</code>) if no match or <code>null</code> string input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5, 3.0 Changed signature from lastOrdinalIndexOf(String, String, int) to lastOrdinalIndexOf(CharSequence, CharSequence, int)</dd></dl>
</li>
</ul>
<a name="lastIndexOf(java.lang.CharSequence, java.lang.CharSequence, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lastIndexOf</h4>
<pre>public static&nbsp;int&nbsp;lastIndexOf(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;seq,
              <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;searchSeq,
              int&nbsp;startPos)</pre>
<div class="block"><p>Finds the last index within a CharSequence, handling <code>null</code>.
 This method uses <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#lastIndexOf(java.lang.String, int)" title="class or interface in java.lang"><code>String.lastIndexOf(String, int)</code></a> if possible.</p>

 <p>A <code>null</code> CharSequence will return <code>-1</code>.
 A negative start position returns <code>-1</code>.
 An empty ("") search CharSequence always matches unless the start position is negative.
 A start position greater than the string length searches the whole string.
 The search starts at the startPos and works backwards; matches starting after the start
 position are ignored.
 </p>

 <pre>
 StringUtils.lastIndexOf(null, *, *)          = -1
 StringUtils.lastIndexOf(*, null, *)          = -1
 StringUtils.lastIndexOf("aabaabaa", "a", 8)  = 7
 StringUtils.lastIndexOf("aabaabaa", "b", 8)  = 5
 StringUtils.lastIndexOf("aabaabaa", "ab", 8) = 4
 StringUtils.lastIndexOf("aabaabaa", "b", 9)  = 5
 StringUtils.lastIndexOf("aabaabaa", "b", -1) = -1
 StringUtils.lastIndexOf("aabaabaa", "a", 0)  = 0
 StringUtils.lastIndexOf("aabaabaa", "b", 0)  = -1
 StringUtils.lastIndexOf("aabaabaa", "b", 1)  = -1
 StringUtils.lastIndexOf("aabaabaa", "b", 2)  = 2
 StringUtils.lastIndexOf("aabaabaa", "ba", 2)  = -1
 StringUtils.lastIndexOf("aabaabaa", "ba", 2)  = 2
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>seq</code> - the CharSequence to check, may be null</dd><dd><code>searchSeq</code> - the CharSequence to find, may be null</dd><dd><code>startPos</code> - the start position, negative treated as zero</dd>
<dt><span class="strong">Returns:</span></dt><dd>the last index of the search CharSequence (always &le; startPos),
  -1 if no match or <code>null</code> string input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0, 3.0 Changed signature from lastIndexOf(String, String, int) to lastIndexOf(CharSequence, CharSequence, int)</dd></dl>
</li>
</ul>
<a name="lastIndexOfIgnoreCase(java.lang.CharSequence, java.lang.CharSequence)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lastIndexOfIgnoreCase</h4>
<pre>public static&nbsp;int&nbsp;lastIndexOfIgnoreCase(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;str,
                        <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;searchStr)</pre>
<div class="block"><p>Case in-sensitive find of the last index within a CharSequence.</p>

 <p>A <code>null</code> CharSequence will return <code>-1</code>.
 A negative start position returns <code>-1</code>.
 An empty ("") search CharSequence always matches unless the start position is negative.
 A start position greater than the string length searches the whole string.</p>

 <pre>
 StringUtils.lastIndexOfIgnoreCase(null, *)          = -1
 StringUtils.lastIndexOfIgnoreCase(*, null)          = -1
 StringUtils.lastIndexOfIgnoreCase("aabaabaa", "A")  = 7
 StringUtils.lastIndexOfIgnoreCase("aabaabaa", "B")  = 5
 StringUtils.lastIndexOfIgnoreCase("aabaabaa", "AB") = 4
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the CharSequence to check, may be null</dd><dd><code>searchStr</code> - the CharSequence to find, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the first index of the search CharSequence,
  -1 if no match or <code>null</code> string input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5, 3.0 Changed signature from lastIndexOfIgnoreCase(String, String) to lastIndexOfIgnoreCase(CharSequence, CharSequence)</dd></dl>
</li>
</ul>
<a name="lastIndexOfIgnoreCase(java.lang.CharSequence, java.lang.CharSequence, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lastIndexOfIgnoreCase</h4>
<pre>public static&nbsp;int&nbsp;lastIndexOfIgnoreCase(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;str,
                        <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;searchStr,
                        int&nbsp;startPos)</pre>
<div class="block"><p>Case in-sensitive find of the last index within a CharSequence
 from the specified position.</p>

 <p>A <code>null</code> CharSequence will return <code>-1</code>.
 A negative start position returns <code>-1</code>.
 An empty ("") search CharSequence always matches unless the start position is negative.
 A start position greater than the string length searches the whole string.
 The search starts at the startPos and works backwards; matches starting after the start
 position are ignored.
 </p>

 <pre>
 StringUtils.lastIndexOfIgnoreCase(null, *, *)          = -1
 StringUtils.lastIndexOfIgnoreCase(*, null, *)          = -1
 StringUtils.lastIndexOfIgnoreCase("aabaabaa", "A", 8)  = 7
 StringUtils.lastIndexOfIgnoreCase("aabaabaa", "B", 8)  = 5
 StringUtils.lastIndexOfIgnoreCase("aabaabaa", "AB", 8) = 4
 StringUtils.lastIndexOfIgnoreCase("aabaabaa", "B", 9)  = 5
 StringUtils.lastIndexOfIgnoreCase("aabaabaa", "B", -1) = -1
 StringUtils.lastIndexOfIgnoreCase("aabaabaa", "A", 0)  = 0
 StringUtils.lastIndexOfIgnoreCase("aabaabaa", "B", 0)  = -1
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the CharSequence to check, may be null</dd><dd><code>searchStr</code> - the CharSequence to find, may be null</dd><dd><code>startPos</code> - the start position</dd>
<dt><span class="strong">Returns:</span></dt><dd>the last index of the search CharSequence (always &le; startPos),
  -1 if no match or <code>null</code> input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5, 3.0 Changed signature from lastIndexOfIgnoreCase(String, String, int) to lastIndexOfIgnoreCase(CharSequence, CharSequence, int)</dd></dl>
</li>
</ul>
<a name="contains(java.lang.CharSequence, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>contains</h4>
<pre>public static&nbsp;boolean&nbsp;contains(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;seq,
               int&nbsp;searchChar)</pre>
<div class="block"><p>Checks if CharSequence contains a search character, handling <code>null</code>.
 This method uses <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#indexOf(int)" title="class or interface in java.lang"><code>String.indexOf(int)</code></a> if possible.</p>

 <p>A <code>null</code> or empty ("") CharSequence will return <code>false</code>.</p>

 <pre>
 StringUtils.contains(null, *)    = false
 StringUtils.contains("", *)      = false
 StringUtils.contains("abc", 'a') = true
 StringUtils.contains("abc", 'z') = false
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>seq</code> - the CharSequence to check, may be null</dd><dd><code>searchChar</code> - the character to find</dd>
<dt><span class="strong">Returns:</span></dt><dd>true if the CharSequence contains the search character,
  false if not or <code>null</code> string input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0, 3.0 Changed signature from contains(String, int) to contains(CharSequence, int)</dd></dl>
</li>
</ul>
<a name="contains(java.lang.CharSequence, java.lang.CharSequence)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>contains</h4>
<pre>public static&nbsp;boolean&nbsp;contains(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;seq,
               <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;searchSeq)</pre>
<div class="block"><p>Checks if CharSequence contains a search CharSequence, handling <code>null</code>.
 This method uses <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#indexOf(java.lang.String)" title="class or interface in java.lang"><code>String.indexOf(String)</code></a> if possible.</p>

 <p>A <code>null</code> CharSequence will return <code>false</code>.</p>

 <pre>
 StringUtils.contains(null, *)     = false
 StringUtils.contains(*, null)     = false
 StringUtils.contains("", "")      = true
 StringUtils.contains("abc", "")   = true
 StringUtils.contains("abc", "a")  = true
 StringUtils.contains("abc", "z")  = false
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>seq</code> - the CharSequence to check, may be null</dd><dd><code>searchSeq</code> - the CharSequence to find, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>true if the CharSequence contains the search CharSequence,
  false if not or <code>null</code> string input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0, 3.0 Changed signature from contains(String, String) to contains(CharSequence, CharSequence)</dd></dl>
</li>
</ul>
<a name="containsIgnoreCase(java.lang.CharSequence, java.lang.CharSequence)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>containsIgnoreCase</h4>
<pre>public static&nbsp;boolean&nbsp;containsIgnoreCase(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;str,
                         <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;searchStr)</pre>
<div class="block"><p>Checks if CharSequence contains a search CharSequence irrespective of case,
 handling <code>null</code>. Case-insensitivity is defined as by
 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#equalsIgnoreCase(java.lang.String)" title="class or interface in java.lang"><code>String.equalsIgnoreCase(String)</code></a>.

 <p>A <code>null</code> CharSequence will return <code>false</code>.</p>

 <pre>
 StringUtils.contains(null, *) = false
 StringUtils.contains(*, null) = false
 StringUtils.contains("", "") = true
 StringUtils.contains("abc", "") = true
 StringUtils.contains("abc", "a") = true
 StringUtils.contains("abc", "z") = false
 StringUtils.contains("abc", "A") = true
 StringUtils.contains("abc", "Z") = false
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the CharSequence to check, may be null</dd><dd><code>searchStr</code> - the CharSequence to find, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>true if the CharSequence contains the search CharSequence irrespective of
 case or false if not or <code>null</code> string input</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0 Changed signature from containsIgnoreCase(String, String) to containsIgnoreCase(CharSequence, CharSequence)</dd></dl>
</li>
</ul>
<a name="containsWhitespace(java.lang.CharSequence)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>containsWhitespace</h4>
<pre>public static&nbsp;boolean&nbsp;containsWhitespace(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;seq)</pre>
<div class="block">Check whether the given CharSequence contains any whitespace characters.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>seq</code> - the CharSequence to check (may be <code>null</code>)</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the CharSequence is not empty and
 contains at least 1 whitespace character</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true#isWhitespace(char)" title="class or interface in java.lang"><code>Character.isWhitespace(char)</code></a></dd></dl>
</li>
</ul>
<a name="indexOfAny(java.lang.CharSequence, char...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOfAny</h4>
<pre>public static&nbsp;int&nbsp;indexOfAny(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs,
             char...&nbsp;searchChars)</pre>
<div class="block"><p>Search a CharSequence to find the first index of any
 character in the given set of characters.</p>

 <p>A <code>null</code> String will return <code>-1</code>.
 A <code>null</code> or zero length search array will return <code>-1</code>.</p>

 <pre>
 StringUtils.indexOfAny(null, *)                = -1
 StringUtils.indexOfAny("", *)                  = -1
 StringUtils.indexOfAny(*, null)                = -1
 StringUtils.indexOfAny(*, [])                  = -1
 StringUtils.indexOfAny("zzabyycdxx",['z','a']) = 0
 StringUtils.indexOfAny("zzabyycdxx",['b','y']) = 3
 StringUtils.indexOfAny("aba", ['z'])           = -1
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cs</code> - the CharSequence to check, may be null</dd><dd><code>searchChars</code> - the chars to search for, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the index of any of the chars, -1 if no match or null input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0, 3.0 Changed signature from indexOfAny(String, char[]) to indexOfAny(CharSequence, char...)</dd></dl>
</li>
</ul>
<a name="indexOfAny(java.lang.CharSequence, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOfAny</h4>
<pre>public static&nbsp;int&nbsp;indexOfAny(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs,
             <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;searchChars)</pre>
<div class="block"><p>Search a CharSequence to find the first index of any
 character in the given set of characters.</p>

 <p>A <code>null</code> String will return <code>-1</code>.
 A <code>null</code> search string will return <code>-1</code>.</p>

 <pre>
 StringUtils.indexOfAny(null, *)            = -1
 StringUtils.indexOfAny("", *)              = -1
 StringUtils.indexOfAny(*, null)            = -1
 StringUtils.indexOfAny(*, "")              = -1
 StringUtils.indexOfAny("zzabyycdxx", "za") = 0
 StringUtils.indexOfAny("zzabyycdxx", "by") = 3
 StringUtils.indexOfAny("aba","z")          = -1
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cs</code> - the CharSequence to check, may be null</dd><dd><code>searchChars</code> - the chars to search for, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the index of any of the chars, -1 if no match or null input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0, 3.0 Changed signature from indexOfAny(String, String) to indexOfAny(CharSequence, String)</dd></dl>
</li>
</ul>
<a name="containsAny(java.lang.CharSequence, char...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>containsAny</h4>
<pre>public static&nbsp;boolean&nbsp;containsAny(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs,
                  char...&nbsp;searchChars)</pre>
<div class="block"><p>Checks if the CharSequence contains any character in the given
 set of characters.</p>

 <p>A <code>null</code> CharSequence will return <code>false</code>.
 A <code>null</code> or zero length search array will return <code>false</code>.</p>

 <pre>
 StringUtils.containsAny(null, *)                = false
 StringUtils.containsAny("", *)                  = false
 StringUtils.containsAny(*, null)                = false
 StringUtils.containsAny(*, [])                  = false
 StringUtils.containsAny("zzabyycdxx",['z','a']) = true
 StringUtils.containsAny("zzabyycdxx",['b','y']) = true
 StringUtils.containsAny("aba", ['z'])           = false
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cs</code> - the CharSequence to check, may be null</dd><dd><code>searchChars</code> - the chars to search for, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the <code>true</code> if any of the chars are found,
 <code>false</code> if no match or null input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.4, 3.0 Changed signature from containsAny(String, char[]) to containsAny(CharSequence, char...)</dd></dl>
</li>
</ul>
<a name="containsAny(java.lang.CharSequence, java.lang.CharSequence)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>containsAny</h4>
<pre>public static&nbsp;boolean&nbsp;containsAny(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs,
                  <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;searchChars)</pre>
<div class="block"><p>
 Checks if the CharSequence contains any character in the given set of characters.
 </p>

 <p>
 A <code>null</code> CharSequence will return <code>false</code>. A <code>null</code> search CharSequence will return
 <code>false</code>.
 </p>

 <pre>
 StringUtils.containsAny(null, *)            = false
 StringUtils.containsAny("", *)              = false
 StringUtils.containsAny(*, null)            = false
 StringUtils.containsAny(*, "")              = false
 StringUtils.containsAny("zzabyycdxx", "za") = true
 StringUtils.containsAny("zzabyycdxx", "by") = true
 StringUtils.containsAny("aba","z")          = false
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cs</code> - the CharSequence to check, may be null</dd><dd><code>searchChars</code> - the chars to search for, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the <code>true</code> if any of the chars are found, <code>false</code> if no match or null input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.4, 3.0 Changed signature from containsAny(String, String) to containsAny(CharSequence, CharSequence)</dd></dl>
</li>
</ul>
<a name="indexOfAnyBut(java.lang.CharSequence, char...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOfAnyBut</h4>
<pre>public static&nbsp;int&nbsp;indexOfAnyBut(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs,
                char...&nbsp;searchChars)</pre>
<div class="block"><p>Searches a CharSequence to find the first index of any
 character not in the given set of characters.</p>

 <p>A <code>null</code> CharSequence will return <code>-1</code>.
 A <code>null</code> or zero length search array will return <code>-1</code>.</p>

 <pre>
 StringUtils.indexOfAnyBut(null, *)                              = -1
 StringUtils.indexOfAnyBut("", *)                                = -1
 StringUtils.indexOfAnyBut(*, null)                              = -1
 StringUtils.indexOfAnyBut(*, [])                                = -1
 StringUtils.indexOfAnyBut("zzabyycdxx", new char[] {'z', 'a'} ) = 3
 StringUtils.indexOfAnyBut("aba", new char[] {'z'} )             = 0
 StringUtils.indexOfAnyBut("aba", new char[] {'a', 'b'} )        = -1

 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cs</code> - the CharSequence to check, may be null</dd><dd><code>searchChars</code> - the chars to search for, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the index of any of the chars, -1 if no match or null input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0, 3.0 Changed signature from indexOfAnyBut(String, char[]) to indexOfAnyBut(CharSequence, char...)</dd></dl>
</li>
</ul>
<a name="indexOfAnyBut(java.lang.CharSequence, java.lang.CharSequence)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOfAnyBut</h4>
<pre>public static&nbsp;int&nbsp;indexOfAnyBut(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;seq,
                <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;searchChars)</pre>
<div class="block"><p>Search a CharSequence to find the first index of any
 character not in the given set of characters.</p>

 <p>A <code>null</code> CharSequence will return <code>-1</code>.
 A <code>null</code> or empty search string will return <code>-1</code>.</p>

 <pre>
 StringUtils.indexOfAnyBut(null, *)            = -1
 StringUtils.indexOfAnyBut("", *)              = -1
 StringUtils.indexOfAnyBut(*, null)            = -1
 StringUtils.indexOfAnyBut(*, "")              = -1
 StringUtils.indexOfAnyBut("zzabyycdxx", "za") = 3
 StringUtils.indexOfAnyBut("zzabyycdxx", "")   = -1
 StringUtils.indexOfAnyBut("aba","ab")         = -1
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>seq</code> - the CharSequence to check, may be null</dd><dd><code>searchChars</code> - the chars to search for, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the index of any of the chars, -1 if no match or null input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0, 3.0 Changed signature from indexOfAnyBut(String, String) to indexOfAnyBut(CharSequence, CharSequence)</dd></dl>
</li>
</ul>
<a name="containsOnly(java.lang.CharSequence, char...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>containsOnly</h4>
<pre>public static&nbsp;boolean&nbsp;containsOnly(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs,
                   char...&nbsp;valid)</pre>
<div class="block"><p>Checks if the CharSequence contains only certain characters.</p>

 <p>A <code>null</code> CharSequence will return <code>false</code>.
 A <code>null</code> valid character array will return <code>false</code>.
 An empty CharSequence (length()=0) always returns <code>true</code>.</p>

 <pre>
 StringUtils.containsOnly(null, *)       = false
 StringUtils.containsOnly(*, null)       = false
 StringUtils.containsOnly("", *)         = true
 StringUtils.containsOnly("ab", '')      = false
 StringUtils.containsOnly("abab", 'abc') = true
 StringUtils.containsOnly("ab1", 'abc')  = false
 StringUtils.containsOnly("abz", 'abc')  = false
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cs</code> - the String to check, may be null</dd><dd><code>valid</code> - an array of valid chars, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>true if it only contains valid chars and is non-null</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0 Changed signature from containsOnly(String, char[]) to containsOnly(CharSequence, char...)</dd></dl>
</li>
</ul>
<a name="containsOnly(java.lang.CharSequence, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>containsOnly</h4>
<pre>public static&nbsp;boolean&nbsp;containsOnly(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs,
                   <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;validChars)</pre>
<div class="block"><p>Checks if the CharSequence contains only certain characters.</p>

 <p>A <code>null</code> CharSequence will return <code>false</code>.
 A <code>null</code> valid character String will return <code>false</code>.
 An empty String (length()=0) always returns <code>true</code>.</p>

 <pre>
 StringUtils.containsOnly(null, *)       = false
 StringUtils.containsOnly(*, null)       = false
 StringUtils.containsOnly("", *)         = true
 StringUtils.containsOnly("ab", "")      = false
 StringUtils.containsOnly("abab", "abc") = true
 StringUtils.containsOnly("ab1", "abc")  = false
 StringUtils.containsOnly("abz", "abc")  = false
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cs</code> - the CharSequence to check, may be null</dd><dd><code>validChars</code> - a String of valid chars, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>true if it only contains valid chars and is non-null</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0, 3.0 Changed signature from containsOnly(String, String) to containsOnly(CharSequence, String)</dd></dl>
</li>
</ul>
<a name="containsNone(java.lang.CharSequence, char...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>containsNone</h4>
<pre>public static&nbsp;boolean&nbsp;containsNone(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs,
                   char...&nbsp;searchChars)</pre>
<div class="block"><p>Checks that the CharSequence does not contain certain characters.</p>

 <p>A <code>null</code> CharSequence will return <code>true</code>.
 A <code>null</code> invalid character array will return <code>true</code>.
 An empty CharSequence (length()=0) always returns true.</p>

 <pre>
 StringUtils.containsNone(null, *)       = true
 StringUtils.containsNone(*, null)       = true
 StringUtils.containsNone("", *)         = true
 StringUtils.containsNone("ab", '')      = true
 StringUtils.containsNone("abab", 'xyz') = true
 StringUtils.containsNone("ab1", 'xyz')  = true
 StringUtils.containsNone("abz", 'xyz')  = false
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cs</code> - the CharSequence to check, may be null</dd><dd><code>searchChars</code> - an array of invalid chars, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>true if it contains none of the invalid chars, or is null</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0, 3.0 Changed signature from containsNone(String, char[]) to containsNone(CharSequence, char...)</dd></dl>
</li>
</ul>
<a name="containsNone(java.lang.CharSequence, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>containsNone</h4>
<pre>public static&nbsp;boolean&nbsp;containsNone(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs,
                   <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;invalidChars)</pre>
<div class="block"><p>Checks that the CharSequence does not contain certain characters.</p>

 <p>A <code>null</code> CharSequence will return <code>true</code>.
 A <code>null</code> invalid character array will return <code>true</code>.
 An empty String ("") always returns true.</p>

 <pre>
 StringUtils.containsNone(null, *)       = true
 StringUtils.containsNone(*, null)       = true
 StringUtils.containsNone("", *)         = true
 StringUtils.containsNone("ab", "")      = true
 StringUtils.containsNone("abab", "xyz") = true
 StringUtils.containsNone("ab1", "xyz")  = true
 StringUtils.containsNone("abz", "xyz")  = false
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cs</code> - the CharSequence to check, may be null</dd><dd><code>invalidChars</code> - a String of invalid chars, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>true if it contains none of the invalid chars, or is null</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0, 3.0 Changed signature from containsNone(String, String) to containsNone(CharSequence, String)</dd></dl>
</li>
</ul>
<a name="indexOfAny(java.lang.CharSequence, java.lang.CharSequence...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOfAny</h4>
<pre>public static&nbsp;int&nbsp;indexOfAny(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;str,
             <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>...&nbsp;searchStrs)</pre>
<div class="block"><p>Find the first index of any of a set of potential substrings.</p>

 <p>A <code>null</code> CharSequence will return <code>-1</code>.
 A <code>null</code> or zero length search array will return <code>-1</code>.
 A <code>null</code> search array entry will be ignored, but a search
 array containing "" will return <code>0</code> if <code>str</code> is not
 null. This method uses <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#indexOf(java.lang.String)" title="class or interface in java.lang"><code>String.indexOf(String)</code></a> if possible.</p>

 <pre>
 StringUtils.indexOfAny(null, *)                     = -1
 StringUtils.indexOfAny(*, null)                     = -1
 StringUtils.indexOfAny(*, [])                       = -1
 StringUtils.indexOfAny("zzabyycdxx", ["ab","cd"])   = 2
 StringUtils.indexOfAny("zzabyycdxx", ["cd","ab"])   = 2
 StringUtils.indexOfAny("zzabyycdxx", ["mn","op"])   = -1
 StringUtils.indexOfAny("zzabyycdxx", ["zab","aby"]) = 1
 StringUtils.indexOfAny("zzabyycdxx", [""])          = 0
 StringUtils.indexOfAny("", [""])                    = 0
 StringUtils.indexOfAny("", ["a"])                   = -1
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the CharSequence to check, may be null</dd><dd><code>searchStrs</code> - the CharSequences to search for, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the first index of any of the searchStrs in str, -1 if no match</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0 Changed signature from indexOfAny(String, String[]) to indexOfAny(CharSequence, CharSequence...)</dd></dl>
</li>
</ul>
<a name="lastIndexOfAny(java.lang.CharSequence, java.lang.CharSequence...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lastIndexOfAny</h4>
<pre>public static&nbsp;int&nbsp;lastIndexOfAny(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;str,
                 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>...&nbsp;searchStrs)</pre>
<div class="block"><p>Find the latest index of any of a set of potential substrings.</p>

 <p>A <code>null</code> CharSequence will return <code>-1</code>.
 A <code>null</code> search array will return <code>-1</code>.
 A <code>null</code> or zero length search array entry will be ignored,
 but a search array containing "" will return the length of <code>str</code>
 if <code>str</code> is not null. This method uses <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#indexOf(java.lang.String)" title="class or interface in java.lang"><code>String.indexOf(String)</code></a> if possible</p>

 <pre>
 StringUtils.lastIndexOfAny(null, *)                   = -1
 StringUtils.lastIndexOfAny(*, null)                   = -1
 StringUtils.lastIndexOfAny(*, [])                     = -1
 StringUtils.lastIndexOfAny(*, [null])                 = -1
 StringUtils.lastIndexOfAny("zzabyycdxx", ["ab","cd"]) = 6
 StringUtils.lastIndexOfAny("zzabyycdxx", ["cd","ab"]) = 6
 StringUtils.lastIndexOfAny("zzabyycdxx", ["mn","op"]) = -1
 StringUtils.lastIndexOfAny("zzabyycdxx", ["mn","op"]) = -1
 StringUtils.lastIndexOfAny("zzabyycdxx", ["mn",""])   = 10
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the CharSequence to check, may be null</dd><dd><code>searchStrs</code> - the CharSequences to search for, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the last index of any of the CharSequences, -1 if no match</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0 Changed signature from lastIndexOfAny(String, String[]) to lastIndexOfAny(CharSequence, CharSequence)</dd></dl>
</li>
</ul>
<a name="substring(java.lang.String, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>substring</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;substring(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
               int&nbsp;start)</pre>
<div class="block"><p>Gets a substring from the specified String avoiding exceptions.</p>

 <p>A negative start position can be used to start <code>n</code>
 characters from the end of the String.</p>

 <p>A <code>null</code> String will return <code>null</code>.
 An empty ("") String will return "".</p>

 <pre>
 StringUtils.substring(null, *)   = null
 StringUtils.substring("", *)     = ""
 StringUtils.substring("abc", 0)  = "abc"
 StringUtils.substring("abc", 2)  = "c"
 StringUtils.substring("abc", 4)  = ""
 StringUtils.substring("abc", -2) = "bc"
 StringUtils.substring("abc", -4) = "abc"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to get the substring from, may be null</dd><dd><code>start</code> - the position to start from, negative means
  count back from the end of the String by this many characters</dd>
<dt><span class="strong">Returns:</span></dt><dd>substring from start position, <code>null</code> if null String input</dd></dl>
</li>
</ul>
<a name="substring(java.lang.String, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>substring</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;substring(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
               int&nbsp;start,
               int&nbsp;end)</pre>
<div class="block"><p>Gets a substring from the specified String avoiding exceptions.</p>

 <p>A negative start position can be used to start/end <code>n</code>
 characters from the end of the String.</p>

 <p>The returned substring starts with the character in the <code>start</code>
 position and ends before the <code>end</code> position. All position counting is
 zero-based -- i.e., to start at the beginning of the string use
 <code>start = 0</code>. Negative start and end positions can be used to
 specify offsets relative to the end of the String.</p>

 <p>If <code>start</code> is not strictly to the left of <code>end</code>, ""
 is returned.</p>

 <pre>
 StringUtils.substring(null, *, *)    = null
 StringUtils.substring("", * ,  *)    = "";
 StringUtils.substring("abc", 0, 2)   = "ab"
 StringUtils.substring("abc", 2, 0)   = ""
 StringUtils.substring("abc", 2, 4)   = "c"
 StringUtils.substring("abc", 4, 6)   = ""
 StringUtils.substring("abc", 2, 2)   = ""
 StringUtils.substring("abc", -2, -1) = "b"
 StringUtils.substring("abc", -4, 2)  = "ab"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to get the substring from, may be null</dd><dd><code>start</code> - the position to start from, negative means
  count back from the end of the String by this many characters</dd><dd><code>end</code> - the position to end at (exclusive), negative means
  count back from the end of the String by this many characters</dd>
<dt><span class="strong">Returns:</span></dt><dd>substring from start position to end position,
  <code>null</code> if null String input</dd></dl>
</li>
</ul>
<a name="left(java.lang.String, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>left</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;left(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
          int&nbsp;len)</pre>
<div class="block"><p>Gets the leftmost <code>len</code> characters of a String.</p>

 <p>If <code>len</code> characters are not available, or the
 String is <code>null</code>, the String will be returned without
 an exception. An empty String is returned if len is negative.</p>

 <pre>
 StringUtils.left(null, *)    = null
 StringUtils.left(*, -ve)     = ""
 StringUtils.left("", *)      = ""
 StringUtils.left("abc", 0)   = ""
 StringUtils.left("abc", 2)   = "ab"
 StringUtils.left("abc", 4)   = "abc"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to get the leftmost characters from, may be null</dd><dd><code>len</code> - the length of the required String</dd>
<dt><span class="strong">Returns:</span></dt><dd>the leftmost characters, <code>null</code> if null String input</dd></dl>
</li>
</ul>
<a name="right(java.lang.String, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>right</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;right(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
           int&nbsp;len)</pre>
<div class="block"><p>Gets the rightmost <code>len</code> characters of a String.</p>

 <p>If <code>len</code> characters are not available, or the String
 is <code>null</code>, the String will be returned without an
 an exception. An empty String is returned if len is negative.</p>

 <pre>
 StringUtils.right(null, *)    = null
 StringUtils.right(*, -ve)     = ""
 StringUtils.right("", *)      = ""
 StringUtils.right("abc", 0)   = ""
 StringUtils.right("abc", 2)   = "bc"
 StringUtils.right("abc", 4)   = "abc"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to get the rightmost characters from, may be null</dd><dd><code>len</code> - the length of the required String</dd>
<dt><span class="strong">Returns:</span></dt><dd>the rightmost characters, <code>null</code> if null String input</dd></dl>
</li>
</ul>
<a name="mid(java.lang.String, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mid</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;mid(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
         int&nbsp;pos,
         int&nbsp;len)</pre>
<div class="block"><p>Gets <code>len</code> characters from the middle of a String.</p>

 <p>If <code>len</code> characters are not available, the remainder
 of the String will be returned without an exception. If the
 String is <code>null</code>, <code>null</code> will be returned.
 An empty String is returned if len is negative or exceeds the
 length of <code>str</code>.</p>

 <pre>
 StringUtils.mid(null, *, *)    = null
 StringUtils.mid(*, *, -ve)     = ""
 StringUtils.mid("", 0, *)      = ""
 StringUtils.mid("abc", 0, 2)   = "ab"
 StringUtils.mid("abc", 0, 4)   = "abc"
 StringUtils.mid("abc", 2, 4)   = "c"
 StringUtils.mid("abc", 4, 2)   = ""
 StringUtils.mid("abc", -2, 2)  = "ab"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to get the characters from, may be null</dd><dd><code>pos</code> - the position to start from, negative treated as zero</dd><dd><code>len</code> - the length of the required String</dd>
<dt><span class="strong">Returns:</span></dt><dd>the middle characters, <code>null</code> if null String input</dd></dl>
</li>
</ul>
<a name="substringBefore(java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>substringBefore</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;substringBefore(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                     <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separator)</pre>
<div class="block"><p>Gets the substring before the first occurrence of a separator.
 The separator is not returned.</p>

 <p>A <code>null</code> string input will return <code>null</code>.
 An empty ("") string input will return the empty string.
 A <code>null</code> separator will return the input string.</p>

 <p>If nothing is found, the string input is returned.</p>

 <pre>
 StringUtils.substringBefore(null, *)      = null
 StringUtils.substringBefore("", *)        = ""
 StringUtils.substringBefore("abc", "a")   = ""
 StringUtils.substringBefore("abcba", "b") = "a"
 StringUtils.substringBefore("abc", "c")   = "ab"
 StringUtils.substringBefore("abc", "d")   = "abc"
 StringUtils.substringBefore("abc", "")    = ""
 StringUtils.substringBefore("abc", null)  = "abc"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to get a substring from, may be null</dd><dd><code>separator</code> - the String to search for, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the substring before the first occurrence of the separator,
  <code>null</code> if null String input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0</dd></dl>
</li>
</ul>
<a name="substringAfter(java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>substringAfter</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;substringAfter(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                    <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separator)</pre>
<div class="block"><p>Gets the substring after the first occurrence of a separator.
 The separator is not returned.</p>

 <p>A <code>null</code> string input will return <code>null</code>.
 An empty ("") string input will return the empty string.
 A <code>null</code> separator will return the empty string if the
 input string is not <code>null</code>.</p>

 <p>If nothing is found, the empty string is returned.</p>

 <pre>
 StringUtils.substringAfter(null, *)      = null
 StringUtils.substringAfter("", *)        = ""
 StringUtils.substringAfter(*, null)      = ""
 StringUtils.substringAfter("abc", "a")   = "bc"
 StringUtils.substringAfter("abcba", "b") = "cba"
 StringUtils.substringAfter("abc", "c")   = ""
 StringUtils.substringAfter("abc", "d")   = ""
 StringUtils.substringAfter("abc", "")    = "abc"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to get a substring from, may be null</dd><dd><code>separator</code> - the String to search for, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the substring after the first occurrence of the separator,
  <code>null</code> if null String input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0</dd></dl>
</li>
</ul>
<a name="substringBeforeLast(java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>substringBeforeLast</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;substringBeforeLast(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                         <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separator)</pre>
<div class="block"><p>Gets the substring before the last occurrence of a separator.
 The separator is not returned.</p>

 <p>A <code>null</code> string input will return <code>null</code>.
 An empty ("") string input will return the empty string.
 An empty or <code>null</code> separator will return the input string.</p>

 <p>If nothing is found, the string input is returned.</p>

 <pre>
 StringUtils.substringBeforeLast(null, *)      = null
 StringUtils.substringBeforeLast("", *)        = ""
 StringUtils.substringBeforeLast("abcba", "b") = "abc"
 StringUtils.substringBeforeLast("abc", "c")   = "ab"
 StringUtils.substringBeforeLast("a", "a")     = ""
 StringUtils.substringBeforeLast("a", "z")     = "a"
 StringUtils.substringBeforeLast("a", null)    = "a"
 StringUtils.substringBeforeLast("a", "")      = "a"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to get a substring from, may be null</dd><dd><code>separator</code> - the String to search for, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the substring before the last occurrence of the separator,
  <code>null</code> if null String input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0</dd></dl>
</li>
</ul>
<a name="substringAfterLast(java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>substringAfterLast</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;substringAfterLast(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                        <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separator)</pre>
<div class="block"><p>Gets the substring after the last occurrence of a separator.
 The separator is not returned.</p>

 <p>A <code>null</code> string input will return <code>null</code>.
 An empty ("") string input will return the empty string.
 An empty or <code>null</code> separator will return the empty string if
 the input string is not <code>null</code>.</p>

 <p>If nothing is found, the empty string is returned.</p>

 <pre>
 StringUtils.substringAfterLast(null, *)      = null
 StringUtils.substringAfterLast("", *)        = ""
 StringUtils.substringAfterLast(*, "")        = ""
 StringUtils.substringAfterLast(*, null)      = ""
 StringUtils.substringAfterLast("abc", "a")   = "bc"
 StringUtils.substringAfterLast("abcba", "b") = "a"
 StringUtils.substringAfterLast("abc", "c")   = ""
 StringUtils.substringAfterLast("a", "a")     = ""
 StringUtils.substringAfterLast("a", "z")     = ""
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to get a substring from, may be null</dd><dd><code>separator</code> - the String to search for, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the substring after the last occurrence of the separator,
  <code>null</code> if null String input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0</dd></dl>
</li>
</ul>
<a name="substringBetween(java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>substringBetween</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;substringBetween(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                      <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tag)</pre>
<div class="block"><p>Gets the String that is nested in between two instances of the
 same String.</p>

 <p>A <code>null</code> input String returns <code>null</code>.
 A <code>null</code> tag returns <code>null</code>.</p>

 <pre>
 StringUtils.substringBetween(null, *)            = null
 StringUtils.substringBetween("", "")             = ""
 StringUtils.substringBetween("", "tag")          = null
 StringUtils.substringBetween("tagabctag", null)  = null
 StringUtils.substringBetween("tagabctag", "")    = ""
 StringUtils.substringBetween("tagabctag", "tag") = "abc"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String containing the substring, may be null</dd><dd><code>tag</code> - the String before and after the substring, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the substring, <code>null</code> if no match</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0</dd></dl>
</li>
</ul>
<a name="substringBetween(java.lang.String, java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>substringBetween</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;substringBetween(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                      <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;open,
                      <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;close)</pre>
<div class="block"><p>Gets the String that is nested in between two Strings.
 Only the first match is returned.</p>

 <p>A <code>null</code> input String returns <code>null</code>.
 A <code>null</code> open/close returns <code>null</code> (no match).
 An empty ("") open and close returns an empty string.</p>

 <pre>
 StringUtils.substringBetween("wx[b]yz", "[", "]") = "b"
 StringUtils.substringBetween(null, *, *)          = null
 StringUtils.substringBetween(*, null, *)          = null
 StringUtils.substringBetween(*, *, null)          = null
 StringUtils.substringBetween("", "", "")          = ""
 StringUtils.substringBetween("", "", "]")         = null
 StringUtils.substringBetween("", "[", "]")        = null
 StringUtils.substringBetween("yabcz", "", "")     = ""
 StringUtils.substringBetween("yabcz", "y", "z")   = "abc"
 StringUtils.substringBetween("yabczyabcz", "y", "z")   = "abc"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String containing the substring, may be null</dd><dd><code>open</code> - the String before the substring, may be null</dd><dd><code>close</code> - the String after the substring, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the substring, <code>null</code> if no match</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0</dd></dl>
</li>
</ul>
<a name="substringsBetween(java.lang.String, java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>substringsBetween</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;substringsBetween(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                         <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;open,
                         <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;close)</pre>
<div class="block"><p>Searches a String for substrings delimited by a start and end tag,
 returning all matching substrings in an array.</p>

 <p>A <code>null</code> input String returns <code>null</code>.
 A <code>null</code> open/close returns <code>null</code> (no match).
 An empty ("") open/close returns <code>null</code> (no match).</p>

 <pre>
 StringUtils.substringsBetween("[a][b][c]", "[", "]") = ["a","b","c"]
 StringUtils.substringsBetween(null, *, *)            = null
 StringUtils.substringsBetween(*, null, *)            = null
 StringUtils.substringsBetween(*, *, null)            = null
 StringUtils.substringsBetween("", "[", "]")          = []
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String containing the substrings, null returns null, empty returns empty</dd><dd><code>open</code> - the String identifying the start of the substring, empty returns null</dd><dd><code>close</code> - the String identifying the end of the substring, empty returns null</dd>
<dt><span class="strong">Returns:</span></dt><dd>a String Array of substrings, or <code>null</code> if no match</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.3</dd></dl>
</li>
</ul>
<a name="split(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>split</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;split(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</pre>
<div class="block"><p>Splits the provided text into an array, using whitespace as the
 separator.
 Whitespace is defined by <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true#isWhitespace(char)" title="class or interface in java.lang"><code>Character.isWhitespace(char)</code></a>.</p>

 <p>The separator is not included in the returned String array.
 Adjacent separators are treated as one separator.
 For more control over the split use the StrTokenizer class.</p>

 <p>A <code>null</code> input String returns <code>null</code>.</p>

 <pre>
 StringUtils.split(null)       = null
 StringUtils.split("")         = []
 StringUtils.split("abc def")  = ["abc", "def"]
 StringUtils.split("abc  def") = ["abc", "def"]
 StringUtils.split(" abc ")    = ["abc"]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to parse, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>an array of parsed Strings, <code>null</code> if null String input</dd></dl>
</li>
</ul>
<a name="split(java.lang.String, char)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>split</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;split(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
             char&nbsp;separatorChar)</pre>
<div class="block"><p>Splits the provided text into an array, separator specified.
 This is an alternative to using StringTokenizer.</p>

 <p>The separator is not included in the returned String array.
 Adjacent separators are treated as one separator.
 For more control over the split use the StrTokenizer class.</p>

 <p>A <code>null</code> input String returns <code>null</code>.</p>

 <pre>
 StringUtils.split(null, *)         = null
 StringUtils.split("", *)           = []
 StringUtils.split("a.b.c", '.')    = ["a", "b", "c"]
 StringUtils.split("a..b.c", '.')   = ["a", "b", "c"]
 StringUtils.split("a:b:c", '.')    = ["a:b:c"]
 StringUtils.split("a b c", ' ')    = ["a", "b", "c"]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to parse, may be null</dd><dd><code>separatorChar</code> - the character used as the delimiter</dd>
<dt><span class="strong">Returns:</span></dt><dd>an array of parsed Strings, <code>null</code> if null String input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0</dd></dl>
</li>
</ul>
<a name="split(java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>split</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;split(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
             <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separatorChars)</pre>
<div class="block"><p>Splits the provided text into an array, separators specified.
 This is an alternative to using StringTokenizer.</p>

 <p>The separator is not included in the returned String array.
 Adjacent separators are treated as one separator.
 For more control over the split use the StrTokenizer class.</p>

 <p>A <code>null</code> input String returns <code>null</code>.
 A <code>null</code> separatorChars splits on whitespace.</p>

 <pre>
 StringUtils.split(null, *)         = null
 StringUtils.split("", *)           = []
 StringUtils.split("abc def", null) = ["abc", "def"]
 StringUtils.split("abc def", " ")  = ["abc", "def"]
 StringUtils.split("abc  def", " ") = ["abc", "def"]
 StringUtils.split("ab:cd:ef", ":") = ["ab", "cd", "ef"]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to parse, may be null</dd><dd><code>separatorChars</code> - the characters used as the delimiters,
  <code>null</code> splits on whitespace</dd>
<dt><span class="strong">Returns:</span></dt><dd>an array of parsed Strings, <code>null</code> if null String input</dd></dl>
</li>
</ul>
<a name="split(java.lang.String, java.lang.String, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>split</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;split(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
             <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separatorChars,
             int&nbsp;max)</pre>
<div class="block"><p>Splits the provided text into an array with a maximum length,
 separators specified.</p>

 <p>The separator is not included in the returned String array.
 Adjacent separators are treated as one separator.</p>

 <p>A <code>null</code> input String returns <code>null</code>.
 A <code>null</code> separatorChars splits on whitespace.</p>

 <p>If more than <code>max</code> delimited substrings are found, the last
 returned string includes all characters after the first <code>max - 1</code>
 returned strings (including separator characters).</p>

 <pre>
 StringUtils.split(null, *, *)            = null
 StringUtils.split("", *, *)              = []
 StringUtils.split("ab cd ef", null, 0)   = ["ab", "cd", "ef"]
 StringUtils.split("ab   cd ef", null, 0) = ["ab", "cd", "ef"]
 StringUtils.split("ab:cd:ef", ":", 0)    = ["ab", "cd", "ef"]
 StringUtils.split("ab:cd:ef", ":", 2)    = ["ab", "cd:ef"]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to parse, may be null</dd><dd><code>separatorChars</code> - the characters used as the delimiters,
  <code>null</code> splits on whitespace</dd><dd><code>max</code> - the maximum number of elements to include in the
  array. A zero or negative value implies no limit</dd>
<dt><span class="strong">Returns:</span></dt><dd>an array of parsed Strings, <code>null</code> if null String input</dd></dl>
</li>
</ul>
<a name="splitByWholeSeparator(java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>splitByWholeSeparator</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;splitByWholeSeparator(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                             <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separator)</pre>
<div class="block"><p>Splits the provided text into an array, separator string specified.</p>

 <p>The separator(s) will not be included in the returned String array.
 Adjacent separators are treated as one separator.</p>

 <p>A <code>null</code> input String returns <code>null</code>.
 A <code>null</code> separator splits on whitespace.</p>

 <pre>
 StringUtils.splitByWholeSeparator(null, *)               = null
 StringUtils.splitByWholeSeparator("", *)                 = []
 StringUtils.splitByWholeSeparator("ab de fg", null)      = ["ab", "de", "fg"]
 StringUtils.splitByWholeSeparator("ab   de fg", null)    = ["ab", "de", "fg"]
 StringUtils.splitByWholeSeparator("ab:cd:ef", ":")       = ["ab", "cd", "ef"]
 StringUtils.splitByWholeSeparator("ab-!-cd-!-ef", "-!-") = ["ab", "cd", "ef"]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to parse, may be null</dd><dd><code>separator</code> - String containing the String to be used as a delimiter,
  <code>null</code> splits on whitespace</dd>
<dt><span class="strong">Returns:</span></dt><dd>an array of parsed Strings, <code>null</code> if null String was input</dd></dl>
</li>
</ul>
<a name="splitByWholeSeparator(java.lang.String, java.lang.String, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>splitByWholeSeparator</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;splitByWholeSeparator(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                             <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separator,
                             int&nbsp;max)</pre>
<div class="block"><p>Splits the provided text into an array, separator string specified.
 Returns a maximum of <code>max</code> substrings.</p>

 <p>The separator(s) will not be included in the returned String array.
 Adjacent separators are treated as one separator.</p>

 <p>A <code>null</code> input String returns <code>null</code>.
 A <code>null</code> separator splits on whitespace.</p>

 <pre>
 StringUtils.splitByWholeSeparator(null, *, *)               = null
 StringUtils.splitByWholeSeparator("", *, *)                 = []
 StringUtils.splitByWholeSeparator("ab de fg", null, 0)      = ["ab", "de", "fg"]
 StringUtils.splitByWholeSeparator("ab   de fg", null, 0)    = ["ab", "de", "fg"]
 StringUtils.splitByWholeSeparator("ab:cd:ef", ":", 2)       = ["ab", "cd:ef"]
 StringUtils.splitByWholeSeparator("ab-!-cd-!-ef", "-!-", 5) = ["ab", "cd", "ef"]
 StringUtils.splitByWholeSeparator("ab-!-cd-!-ef", "-!-", 2) = ["ab", "cd-!-ef"]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to parse, may be null</dd><dd><code>separator</code> - String containing the String to be used as a delimiter,
  <code>null</code> splits on whitespace</dd><dd><code>max</code> - the maximum number of elements to include in the returned
  array. A zero or negative value implies no limit.</dd>
<dt><span class="strong">Returns:</span></dt><dd>an array of parsed Strings, <code>null</code> if null String was input</dd></dl>
</li>
</ul>
<a name="splitByWholeSeparatorPreserveAllTokens(java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>splitByWholeSeparatorPreserveAllTokens</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;splitByWholeSeparatorPreserveAllTokens(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                                              <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separator)</pre>
<div class="block"><p>Splits the provided text into an array, separator string specified. </p>

 <p>The separator is not included in the returned String array.
 Adjacent separators are treated as separators for empty tokens.
 For more control over the split use the StrTokenizer class.</p>

 <p>A <code>null</code> input String returns <code>null</code>.
 A <code>null</code> separator splits on whitespace.</p>

 <pre>
 StringUtils.splitByWholeSeparatorPreserveAllTokens(null, *)               = null
 StringUtils.splitByWholeSeparatorPreserveAllTokens("", *)                 = []
 StringUtils.splitByWholeSeparatorPreserveAllTokens("ab de fg", null)      = ["ab", "de", "fg"]
 StringUtils.splitByWholeSeparatorPreserveAllTokens("ab   de fg", null)    = ["ab", "", "", "de", "fg"]
 StringUtils.splitByWholeSeparatorPreserveAllTokens("ab:cd:ef", ":")       = ["ab", "cd", "ef"]
 StringUtils.splitByWholeSeparatorPreserveAllTokens("ab-!-cd-!-ef", "-!-") = ["ab", "cd", "ef"]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to parse, may be null</dd><dd><code>separator</code> - String containing the String to be used as a delimiter,
  <code>null</code> splits on whitespace</dd>
<dt><span class="strong">Returns:</span></dt><dd>an array of parsed Strings, <code>null</code> if null String was input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.4</dd></dl>
</li>
</ul>
<a name="splitByWholeSeparatorPreserveAllTokens(java.lang.String, java.lang.String, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>splitByWholeSeparatorPreserveAllTokens</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;splitByWholeSeparatorPreserveAllTokens(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                                              <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separator,
                                              int&nbsp;max)</pre>
<div class="block"><p>Splits the provided text into an array, separator string specified.
 Returns a maximum of <code>max</code> substrings.</p>

 <p>The separator is not included in the returned String array.
 Adjacent separators are treated as separators for empty tokens.
 For more control over the split use the StrTokenizer class.</p>

 <p>A <code>null</code> input String returns <code>null</code>.
 A <code>null</code> separator splits on whitespace.</p>

 <pre>
 StringUtils.splitByWholeSeparatorPreserveAllTokens(null, *, *)               = null
 StringUtils.splitByWholeSeparatorPreserveAllTokens("", *, *)                 = []
 StringUtils.splitByWholeSeparatorPreserveAllTokens("ab de fg", null, 0)      = ["ab", "de", "fg"]
 StringUtils.splitByWholeSeparatorPreserveAllTokens("ab   de fg", null, 0)    = ["ab", "", "", "de", "fg"]
 StringUtils.splitByWholeSeparatorPreserveAllTokens("ab:cd:ef", ":", 2)       = ["ab", "cd:ef"]
 StringUtils.splitByWholeSeparatorPreserveAllTokens("ab-!-cd-!-ef", "-!-", 5) = ["ab", "cd", "ef"]
 StringUtils.splitByWholeSeparatorPreserveAllTokens("ab-!-cd-!-ef", "-!-", 2) = ["ab", "cd-!-ef"]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to parse, may be null</dd><dd><code>separator</code> - String containing the String to be used as a delimiter,
  <code>null</code> splits on whitespace</dd><dd><code>max</code> - the maximum number of elements to include in the returned
  array. A zero or negative value implies no limit.</dd>
<dt><span class="strong">Returns:</span></dt><dd>an array of parsed Strings, <code>null</code> if null String was input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.4</dd></dl>
</li>
</ul>
<a name="splitPreserveAllTokens(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>splitPreserveAllTokens</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;splitPreserveAllTokens(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</pre>
<div class="block"><p>Splits the provided text into an array, using whitespace as the
 separator, preserving all tokens, including empty tokens created by
 adjacent separators. This is an alternative to using StringTokenizer.
 Whitespace is defined by <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true#isWhitespace(char)" title="class or interface in java.lang"><code>Character.isWhitespace(char)</code></a>.</p>

 <p>The separator is not included in the returned String array.
 Adjacent separators are treated as separators for empty tokens.
 For more control over the split use the StrTokenizer class.</p>

 <p>A <code>null</code> input String returns <code>null</code>.</p>

 <pre>
 StringUtils.splitPreserveAllTokens(null)       = null
 StringUtils.splitPreserveAllTokens("")         = []
 StringUtils.splitPreserveAllTokens("abc def")  = ["abc", "def"]
 StringUtils.splitPreserveAllTokens("abc  def") = ["abc", "", "def"]
 StringUtils.splitPreserveAllTokens(" abc ")    = ["", "abc", ""]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to parse, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>an array of parsed Strings, <code>null</code> if null String input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="splitPreserveAllTokens(java.lang.String, char)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>splitPreserveAllTokens</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;splitPreserveAllTokens(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                              char&nbsp;separatorChar)</pre>
<div class="block"><p>Splits the provided text into an array, separator specified,
 preserving all tokens, including empty tokens created by adjacent
 separators. This is an alternative to using StringTokenizer.</p>

 <p>The separator is not included in the returned String array.
 Adjacent separators are treated as separators for empty tokens.
 For more control over the split use the StrTokenizer class.</p>

 <p>A <code>null</code> input String returns <code>null</code>.</p>

 <pre>
 StringUtils.splitPreserveAllTokens(null, *)         = null
 StringUtils.splitPreserveAllTokens("", *)           = []
 StringUtils.splitPreserveAllTokens("a.b.c", '.')    = ["a", "b", "c"]
 StringUtils.splitPreserveAllTokens("a..b.c", '.')   = ["a", "", "b", "c"]
 StringUtils.splitPreserveAllTokens("a:b:c", '.')    = ["a:b:c"]
 StringUtils.splitPreserveAllTokens("a\tb\nc", null) = ["a", "b", "c"]
 StringUtils.splitPreserveAllTokens("a b c", ' ')    = ["a", "b", "c"]
 StringUtils.splitPreserveAllTokens("a b c ", ' ')   = ["a", "b", "c", ""]
 StringUtils.splitPreserveAllTokens("a b c  ", ' ')   = ["a", "b", "c", "", ""]
 StringUtils.splitPreserveAllTokens(" a b c", ' ')   = ["", a", "b", "c"]
 StringUtils.splitPreserveAllTokens("  a b c", ' ')  = ["", "", a", "b", "c"]
 StringUtils.splitPreserveAllTokens(" a b c ", ' ')  = ["", a", "b", "c", ""]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to parse, may be <code>null</code></dd><dd><code>separatorChar</code> - the character used as the delimiter,
  <code>null</code> splits on whitespace</dd>
<dt><span class="strong">Returns:</span></dt><dd>an array of parsed Strings, <code>null</code> if null String input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="splitPreserveAllTokens(java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>splitPreserveAllTokens</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;splitPreserveAllTokens(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                              <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separatorChars)</pre>
<div class="block"><p>Splits the provided text into an array, separators specified,
 preserving all tokens, including empty tokens created by adjacent
 separators. This is an alternative to using StringTokenizer.</p>

 <p>The separator is not included in the returned String array.
 Adjacent separators are treated as separators for empty tokens.
 For more control over the split use the StrTokenizer class.</p>

 <p>A <code>null</code> input String returns <code>null</code>.
 A <code>null</code> separatorChars splits on whitespace.</p>

 <pre>
 StringUtils.splitPreserveAllTokens(null, *)           = null
 StringUtils.splitPreserveAllTokens("", *)             = []
 StringUtils.splitPreserveAllTokens("abc def", null)   = ["abc", "def"]
 StringUtils.splitPreserveAllTokens("abc def", " ")    = ["abc", "def"]
 StringUtils.splitPreserveAllTokens("abc  def", " ")   = ["abc", "", def"]
 StringUtils.splitPreserveAllTokens("ab:cd:ef", ":")   = ["ab", "cd", "ef"]
 StringUtils.splitPreserveAllTokens("ab:cd:ef:", ":")  = ["ab", "cd", "ef", ""]
 StringUtils.splitPreserveAllTokens("ab:cd:ef::", ":") = ["ab", "cd", "ef", "", ""]
 StringUtils.splitPreserveAllTokens("ab::cd:ef", ":")  = ["ab", "", cd", "ef"]
 StringUtils.splitPreserveAllTokens(":cd:ef", ":")     = ["", cd", "ef"]
 StringUtils.splitPreserveAllTokens("::cd:ef", ":")    = ["", "", cd", "ef"]
 StringUtils.splitPreserveAllTokens(":cd:ef:", ":")    = ["", cd", "ef", ""]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to parse, may be <code>null</code></dd><dd><code>separatorChars</code> - the characters used as the delimiters,
  <code>null</code> splits on whitespace</dd>
<dt><span class="strong">Returns:</span></dt><dd>an array of parsed Strings, <code>null</code> if null String input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="splitPreserveAllTokens(java.lang.String, java.lang.String, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>splitPreserveAllTokens</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;splitPreserveAllTokens(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                              <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separatorChars,
                              int&nbsp;max)</pre>
<div class="block"><p>Splits the provided text into an array with a maximum length,
 separators specified, preserving all tokens, including empty tokens
 created by adjacent separators.</p>

 <p>The separator is not included in the returned String array.
 Adjacent separators are treated as separators for empty tokens.
 Adjacent separators are treated as one separator.</p>

 <p>A <code>null</code> input String returns <code>null</code>.
 A <code>null</code> separatorChars splits on whitespace.</p>

 <p>If more than <code>max</code> delimited substrings are found, the last
 returned string includes all characters after the first <code>max - 1</code>
 returned strings (including separator characters).</p>

 <pre>
 StringUtils.splitPreserveAllTokens(null, *, *)            = null
 StringUtils.splitPreserveAllTokens("", *, *)              = []
 StringUtils.splitPreserveAllTokens("ab de fg", null, 0)   = ["ab", "cd", "ef"]
 StringUtils.splitPreserveAllTokens("ab   de fg", null, 0) = ["ab", "cd", "ef"]
 StringUtils.splitPreserveAllTokens("ab:cd:ef", ":", 0)    = ["ab", "cd", "ef"]
 StringUtils.splitPreserveAllTokens("ab:cd:ef", ":", 2)    = ["ab", "cd:ef"]
 StringUtils.splitPreserveAllTokens("ab   de fg", null, 2) = ["ab", "  de fg"]
 StringUtils.splitPreserveAllTokens("ab   de fg", null, 3) = ["ab", "", " de fg"]
 StringUtils.splitPreserveAllTokens("ab   de fg", null, 4) = ["ab", "", "", "de fg"]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to parse, may be <code>null</code></dd><dd><code>separatorChars</code> - the characters used as the delimiters,
  <code>null</code> splits on whitespace</dd><dd><code>max</code> - the maximum number of elements to include in the
  array. A zero or negative value implies no limit</dd>
<dt><span class="strong">Returns:</span></dt><dd>an array of parsed Strings, <code>null</code> if null String input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="splitByCharacterType(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>splitByCharacterType</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;splitByCharacterType(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</pre>
<div class="block"><p>Splits a String by Character type as returned by
 <code>java.lang.Character.getType(char)</code>. Groups of contiguous
 characters of the same type are returned as complete tokens.
 <pre>
 StringUtils.splitByCharacterType(null)         = null
 StringUtils.splitByCharacterType("")           = []
 StringUtils.splitByCharacterType("ab de fg")   = ["ab", " ", "de", " ", "fg"]
 StringUtils.splitByCharacterType("ab   de fg") = ["ab", "   ", "de", " ", "fg"]
 StringUtils.splitByCharacterType("ab:cd:ef")   = ["ab", ":", "cd", ":", "ef"]
 StringUtils.splitByCharacterType("number5")    = ["number", "5"]
 StringUtils.splitByCharacterType("fooBar")     = ["foo", "B", "ar"]
 StringUtils.splitByCharacterType("foo200Bar")  = ["foo", "200", "B", "ar"]
 StringUtils.splitByCharacterType("ASFRules")   = ["ASFR", "ules"]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to split, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>an array of parsed Strings, <code>null</code> if null String input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.4</dd></dl>
</li>
</ul>
<a name="splitByCharacterTypeCamelCase(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>splitByCharacterTypeCamelCase</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;splitByCharacterTypeCamelCase(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</pre>
<div class="block"><p>Splits a String by Character type as returned by
 <code>java.lang.Character.getType(char)</code>. Groups of contiguous
 characters of the same type are returned as complete tokens, with the
 following exception: the character of type
 <code>Character.UPPERCASE_LETTER</code>, if any, immediately
 preceding a token of type <code>Character.LOWERCASE_LETTER</code>
 will belong to the following token rather than to the preceding, if any,
 <code>Character.UPPERCASE_LETTER</code> token.
 <pre>
 StringUtils.splitByCharacterTypeCamelCase(null)         = null
 StringUtils.splitByCharacterTypeCamelCase("")           = []
 StringUtils.splitByCharacterTypeCamelCase("ab de fg")   = ["ab", " ", "de", " ", "fg"]
 StringUtils.splitByCharacterTypeCamelCase("ab   de fg") = ["ab", "   ", "de", " ", "fg"]
 StringUtils.splitByCharacterTypeCamelCase("ab:cd:ef")   = ["ab", ":", "cd", ":", "ef"]
 StringUtils.splitByCharacterTypeCamelCase("number5")    = ["number", "5"]
 StringUtils.splitByCharacterTypeCamelCase("fooBar")     = ["foo", "Bar"]
 StringUtils.splitByCharacterTypeCamelCase("foo200Bar")  = ["foo", "200", "Bar"]
 StringUtils.splitByCharacterTypeCamelCase("ASFRules")   = ["ASF", "Rules"]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to split, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>an array of parsed Strings, <code>null</code> if null String input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.4</dd></dl>
</li>
</ul>
<a name="join(java.lang.Object[])">
<!--   -->
</a><a name="join(T...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>join</h4>
<pre>public static&nbsp;&lt;T&gt;&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;join(T...&nbsp;elements)</pre>
<div class="block"><p>Joins the elements of the provided array into a single String
 containing the provided list of elements.</p>

 <p>No separator is added to the joined String.
 Null objects or empty strings within the array are represented by
 empty strings.</p>

 <pre>
 StringUtils.join(null)            = null
 StringUtils.join([])              = ""
 StringUtils.join([null])          = ""
 StringUtils.join(["a", "b", "c"]) = "abc"
 StringUtils.join([null, "", "a"]) = "a"
 </pre></div>
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - the specific type of values to join together</dd><dt><span class="strong">Parameters:</span></dt><dd><code>elements</code> - the values to join together, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the joined String, <code>null</code> if null array input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0, 3.0 Changed signature to use varargs</dd></dl>
</li>
</ul>
<a name="join(java.lang.Object[], char)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>join</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;join(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array,
          char&nbsp;separator)</pre>
<div class="block"><p>Joins the elements of the provided array into a single String
 containing the provided list of elements.</p>

 <p>No delimiter is added before or after the list.
 Null objects or empty strings within the array are represented by
 empty strings.</p>

 <pre>
 StringUtils.join(null, *)               = null
 StringUtils.join([], *)                 = ""
 StringUtils.join([null], *)             = ""
 StringUtils.join(["a", "b", "c"], ';')  = "a;b;c"
 StringUtils.join(["a", "b", "c"], null) = "abc"
 StringUtils.join([null, "", "a"], ';')  = ";;a"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array of values to join together, may be null</dd><dd><code>separator</code> - the separator character to use</dd>
<dt><span class="strong">Returns:</span></dt><dd>the joined String, <code>null</code> if null array input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0</dd></dl>
</li>
</ul>
<a name="join(long[], char)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>join</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;join(long[]&nbsp;array,
          char&nbsp;separator)</pre>
<div class="block"><p>
 Joins the elements of the provided array into a single String containing the provided list of elements.
 </p>

 <p>
 No delimiter is added before or after the list. Null objects or empty strings within the array are represented
 by empty strings.
 </p>

 <pre>
 StringUtils.join(null, *)               = null
 StringUtils.join([], *)                 = ""
 StringUtils.join([null], *)             = ""
 StringUtils.join([1, 2, 3], ';')  = "1;2;3"
 StringUtils.join([1, 2, 3], null) = "123"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array of values to join together, may be null</dd><dd><code>separator</code> - the separator character to use</dd>
<dt><span class="strong">Returns:</span></dt><dd>the joined String, <code>null</code> if null array input</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd></dl>
</li>
</ul>
<a name="join(int[], char)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>join</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;join(int[]&nbsp;array,
          char&nbsp;separator)</pre>
<div class="block"><p>
 Joins the elements of the provided array into a single String containing the provided list of elements.
 </p>

 <p>
 No delimiter is added before or after the list. Null objects or empty strings within the array are represented
 by empty strings.
 </p>

 <pre>
 StringUtils.join(null, *)               = null
 StringUtils.join([], *)                 = ""
 StringUtils.join([null], *)             = ""
 StringUtils.join([1, 2, 3], ';')  = "1;2;3"
 StringUtils.join([1, 2, 3], null) = "123"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array of values to join together, may be null</dd><dd><code>separator</code> - the separator character to use</dd>
<dt><span class="strong">Returns:</span></dt><dd>the joined String, <code>null</code> if null array input</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd></dl>
</li>
</ul>
<a name="join(short[], char)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>join</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;join(short[]&nbsp;array,
          char&nbsp;separator)</pre>
<div class="block"><p>
 Joins the elements of the provided array into a single String containing the provided list of elements.
 </p>

 <p>
 No delimiter is added before or after the list. Null objects or empty strings within the array are represented
 by empty strings.
 </p>

 <pre>
 StringUtils.join(null, *)               = null
 StringUtils.join([], *)                 = ""
 StringUtils.join([null], *)             = ""
 StringUtils.join([1, 2, 3], ';')  = "1;2;3"
 StringUtils.join([1, 2, 3], null) = "123"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array of values to join together, may be null</dd><dd><code>separator</code> - the separator character to use</dd>
<dt><span class="strong">Returns:</span></dt><dd>the joined String, <code>null</code> if null array input</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd></dl>
</li>
</ul>
<a name="join(byte[], char)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>join</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;join(byte[]&nbsp;array,
          char&nbsp;separator)</pre>
<div class="block"><p>
 Joins the elements of the provided array into a single String containing the provided list of elements.
 </p>

 <p>
 No delimiter is added before or after the list. Null objects or empty strings within the array are represented
 by empty strings.
 </p>

 <pre>
 StringUtils.join(null, *)               = null
 StringUtils.join([], *)                 = ""
 StringUtils.join([null], *)             = ""
 StringUtils.join([1, 2, 3], ';')  = "1;2;3"
 StringUtils.join([1, 2, 3], null) = "123"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array of values to join together, may be null</dd><dd><code>separator</code> - the separator character to use</dd>
<dt><span class="strong">Returns:</span></dt><dd>the joined String, <code>null</code> if null array input</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd></dl>
</li>
</ul>
<a name="join(char[], char)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>join</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;join(char[]&nbsp;array,
          char&nbsp;separator)</pre>
<div class="block"><p>
 Joins the elements of the provided array into a single String containing the provided list of elements.
 </p>

 <p>
 No delimiter is added before or after the list. Null objects or empty strings within the array are represented
 by empty strings.
 </p>

 <pre>
 StringUtils.join(null, *)               = null
 StringUtils.join([], *)                 = ""
 StringUtils.join([null], *)             = ""
 StringUtils.join([1, 2, 3], ';')  = "1;2;3"
 StringUtils.join([1, 2, 3], null) = "123"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array of values to join together, may be null</dd><dd><code>separator</code> - the separator character to use</dd>
<dt><span class="strong">Returns:</span></dt><dd>the joined String, <code>null</code> if null array input</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd></dl>
</li>
</ul>
<a name="join(float[], char)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>join</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;join(float[]&nbsp;array,
          char&nbsp;separator)</pre>
<div class="block"><p>
 Joins the elements of the provided array into a single String containing the provided list of elements.
 </p>

 <p>
 No delimiter is added before or after the list. Null objects or empty strings within the array are represented
 by empty strings.
 </p>

 <pre>
 StringUtils.join(null, *)               = null
 StringUtils.join([], *)                 = ""
 StringUtils.join([null], *)             = ""
 StringUtils.join([1, 2, 3], ';')  = "1;2;3"
 StringUtils.join([1, 2, 3], null) = "123"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array of values to join together, may be null</dd><dd><code>separator</code> - the separator character to use</dd>
<dt><span class="strong">Returns:</span></dt><dd>the joined String, <code>null</code> if null array input</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd></dl>
</li>
</ul>
<a name="join(double[], char)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>join</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;join(double[]&nbsp;array,
          char&nbsp;separator)</pre>
<div class="block"><p>
 Joins the elements of the provided array into a single String containing the provided list of elements.
 </p>

 <p>
 No delimiter is added before or after the list. Null objects or empty strings within the array are represented
 by empty strings.
 </p>

 <pre>
 StringUtils.join(null, *)               = null
 StringUtils.join([], *)                 = ""
 StringUtils.join([null], *)             = ""
 StringUtils.join([1, 2, 3], ';')  = "1;2;3"
 StringUtils.join([1, 2, 3], null) = "123"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array of values to join together, may be null</dd><dd><code>separator</code> - the separator character to use</dd>
<dt><span class="strong">Returns:</span></dt><dd>the joined String, <code>null</code> if null array input</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd></dl>
</li>
</ul>
<a name="join(java.lang.Object[], char, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>join</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;join(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array,
          char&nbsp;separator,
          int&nbsp;startIndex,
          int&nbsp;endIndex)</pre>
<div class="block"><p>Joins the elements of the provided array into a single String
 containing the provided list of elements.</p>

 <p>No delimiter is added before or after the list.
 Null objects or empty strings within the array are represented by
 empty strings.</p>

 <pre>
 StringUtils.join(null, *)               = null
 StringUtils.join([], *)                 = ""
 StringUtils.join([null], *)             = ""
 StringUtils.join(["a", "b", "c"], ';')  = "a;b;c"
 StringUtils.join(["a", "b", "c"], null) = "abc"
 StringUtils.join([null, "", "a"], ';')  = ";;a"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array of values to join together, may be null</dd><dd><code>separator</code> - the separator character to use</dd><dd><code>startIndex</code> - the first index to start joining from.  It is
 an error to pass in an end index past the end of the array</dd><dd><code>endIndex</code> - the index to stop joining from (exclusive). It is
 an error to pass in an end index past the end of the array</dd>
<dt><span class="strong">Returns:</span></dt><dd>the joined String, <code>null</code> if null array input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0</dd></dl>
</li>
</ul>
<a name="join(long[], char, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>join</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;join(long[]&nbsp;array,
          char&nbsp;separator,
          int&nbsp;startIndex,
          int&nbsp;endIndex)</pre>
<div class="block"><p>
 Joins the elements of the provided array into a single String containing the provided list of elements.
 </p>

 <p>
 No delimiter is added before or after the list. Null objects or empty strings within the array are represented
 by empty strings.
 </p>

 <pre>
 StringUtils.join(null, *)               = null
 StringUtils.join([], *)                 = ""
 StringUtils.join([null], *)             = ""
 StringUtils.join([1, 2, 3], ';')  = "1;2;3"
 StringUtils.join([1, 2, 3], null) = "123"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array of values to join together, may be null</dd><dd><code>separator</code> - the separator character to use</dd><dd><code>startIndex</code> - the first index to start joining from. It is an error to pass in an end index past the end of the
            array</dd><dd><code>endIndex</code> - the index to stop joining from (exclusive). It is an error to pass in an end index past the end of
            the array</dd>
<dt><span class="strong">Returns:</span></dt><dd>the joined String, <code>null</code> if null array input</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd></dl>
</li>
</ul>
<a name="join(int[], char, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>join</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;join(int[]&nbsp;array,
          char&nbsp;separator,
          int&nbsp;startIndex,
          int&nbsp;endIndex)</pre>
<div class="block"><p>
 Joins the elements of the provided array into a single String containing the provided list of elements.
 </p>

 <p>
 No delimiter is added before or after the list. Null objects or empty strings within the array are represented
 by empty strings.
 </p>

 <pre>
 StringUtils.join(null, *)               = null
 StringUtils.join([], *)                 = ""
 StringUtils.join([null], *)             = ""
 StringUtils.join([1, 2, 3], ';')  = "1;2;3"
 StringUtils.join([1, 2, 3], null) = "123"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array of values to join together, may be null</dd><dd><code>separator</code> - the separator character to use</dd><dd><code>startIndex</code> - the first index to start joining from. It is an error to pass in an end index past the end of the
            array</dd><dd><code>endIndex</code> - the index to stop joining from (exclusive). It is an error to pass in an end index past the end of
            the array</dd>
<dt><span class="strong">Returns:</span></dt><dd>the joined String, <code>null</code> if null array input</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd></dl>
</li>
</ul>
<a name="join(byte[], char, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>join</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;join(byte[]&nbsp;array,
          char&nbsp;separator,
          int&nbsp;startIndex,
          int&nbsp;endIndex)</pre>
<div class="block"><p>
 Joins the elements of the provided array into a single String containing the provided list of elements.
 </p>

 <p>
 No delimiter is added before or after the list. Null objects or empty strings within the array are represented
 by empty strings.
 </p>

 <pre>
 StringUtils.join(null, *)               = null
 StringUtils.join([], *)                 = ""
 StringUtils.join([null], *)             = ""
 StringUtils.join([1, 2, 3], ';')  = "1;2;3"
 StringUtils.join([1, 2, 3], null) = "123"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array of values to join together, may be null</dd><dd><code>separator</code> - the separator character to use</dd><dd><code>startIndex</code> - the first index to start joining from. It is an error to pass in an end index past the end of the
            array</dd><dd><code>endIndex</code> - the index to stop joining from (exclusive). It is an error to pass in an end index past the end of
            the array</dd>
<dt><span class="strong">Returns:</span></dt><dd>the joined String, <code>null</code> if null array input</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd></dl>
</li>
</ul>
<a name="join(short[], char, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>join</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;join(short[]&nbsp;array,
          char&nbsp;separator,
          int&nbsp;startIndex,
          int&nbsp;endIndex)</pre>
<div class="block"><p>
 Joins the elements of the provided array into a single String containing the provided list of elements.
 </p>

 <p>
 No delimiter is added before or after the list. Null objects or empty strings within the array are represented
 by empty strings.
 </p>

 <pre>
 StringUtils.join(null, *)               = null
 StringUtils.join([], *)                 = ""
 StringUtils.join([null], *)             = ""
 StringUtils.join([1, 2, 3], ';')  = "1;2;3"
 StringUtils.join([1, 2, 3], null) = "123"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array of values to join together, may be null</dd><dd><code>separator</code> - the separator character to use</dd><dd><code>startIndex</code> - the first index to start joining from. It is an error to pass in an end index past the end of the
            array</dd><dd><code>endIndex</code> - the index to stop joining from (exclusive). It is an error to pass in an end index past the end of
            the array</dd>
<dt><span class="strong">Returns:</span></dt><dd>the joined String, <code>null</code> if null array input</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd></dl>
</li>
</ul>
<a name="join(char[], char, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>join</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;join(char[]&nbsp;array,
          char&nbsp;separator,
          int&nbsp;startIndex,
          int&nbsp;endIndex)</pre>
<div class="block"><p>
 Joins the elements of the provided array into a single String containing the provided list of elements.
 </p>

 <p>
 No delimiter is added before or after the list. Null objects or empty strings within the array are represented
 by empty strings.
 </p>

 <pre>
 StringUtils.join(null, *)               = null
 StringUtils.join([], *)                 = ""
 StringUtils.join([null], *)             = ""
 StringUtils.join([1, 2, 3], ';')  = "1;2;3"
 StringUtils.join([1, 2, 3], null) = "123"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array of values to join together, may be null</dd><dd><code>separator</code> - the separator character to use</dd><dd><code>startIndex</code> - the first index to start joining from. It is an error to pass in an end index past the end of the
            array</dd><dd><code>endIndex</code> - the index to stop joining from (exclusive). It is an error to pass in an end index past the end of
            the array</dd>
<dt><span class="strong">Returns:</span></dt><dd>the joined String, <code>null</code> if null array input</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd></dl>
</li>
</ul>
<a name="join(double[], char, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>join</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;join(double[]&nbsp;array,
          char&nbsp;separator,
          int&nbsp;startIndex,
          int&nbsp;endIndex)</pre>
<div class="block"><p>
 Joins the elements of the provided array into a single String containing the provided list of elements.
 </p>

 <p>
 No delimiter is added before or after the list. Null objects or empty strings within the array are represented
 by empty strings.
 </p>

 <pre>
 StringUtils.join(null, *)               = null
 StringUtils.join([], *)                 = ""
 StringUtils.join([null], *)             = ""
 StringUtils.join([1, 2, 3], ';')  = "1;2;3"
 StringUtils.join([1, 2, 3], null) = "123"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array of values to join together, may be null</dd><dd><code>separator</code> - the separator character to use</dd><dd><code>startIndex</code> - the first index to start joining from. It is an error to pass in an end index past the end of the
            array</dd><dd><code>endIndex</code> - the index to stop joining from (exclusive). It is an error to pass in an end index past the end of
            the array</dd>
<dt><span class="strong">Returns:</span></dt><dd>the joined String, <code>null</code> if null array input</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd></dl>
</li>
</ul>
<a name="join(float[], char, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>join</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;join(float[]&nbsp;array,
          char&nbsp;separator,
          int&nbsp;startIndex,
          int&nbsp;endIndex)</pre>
<div class="block"><p>
 Joins the elements of the provided array into a single String containing the provided list of elements.
 </p>

 <p>
 No delimiter is added before or after the list. Null objects or empty strings within the array are represented
 by empty strings.
 </p>

 <pre>
 StringUtils.join(null, *)               = null
 StringUtils.join([], *)                 = ""
 StringUtils.join([null], *)             = ""
 StringUtils.join([1, 2, 3], ';')  = "1;2;3"
 StringUtils.join([1, 2, 3], null) = "123"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array of values to join together, may be null</dd><dd><code>separator</code> - the separator character to use</dd><dd><code>startIndex</code> - the first index to start joining from. It is an error to pass in an end index past the end of the
            array</dd><dd><code>endIndex</code> - the index to stop joining from (exclusive). It is an error to pass in an end index past the end of
            the array</dd>
<dt><span class="strong">Returns:</span></dt><dd>the joined String, <code>null</code> if null array input</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd></dl>
</li>
</ul>
<a name="join(java.lang.Object[], java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>join</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;join(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array,
          <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separator)</pre>
<div class="block"><p>Joins the elements of the provided array into a single String
 containing the provided list of elements.</p>

 <p>No delimiter is added before or after the list.
 A <code>null</code> separator is the same as an empty String ("").
 Null objects or empty strings within the array are represented by
 empty strings.</p>

 <pre>
 StringUtils.join(null, *)                = null
 StringUtils.join([], *)                  = ""
 StringUtils.join([null], *)              = ""
 StringUtils.join(["a", "b", "c"], "--")  = "a--b--c"
 StringUtils.join(["a", "b", "c"], null)  = "abc"
 StringUtils.join(["a", "b", "c"], "")    = "abc"
 StringUtils.join([null, "", "a"], ',')   = ",,a"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array of values to join together, may be null</dd><dd><code>separator</code> - the separator character to use, null treated as ""</dd>
<dt><span class="strong">Returns:</span></dt><dd>the joined String, <code>null</code> if null array input</dd></dl>
</li>
</ul>
<a name="join(java.lang.Object[], java.lang.String, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>join</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;join(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array,
          <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separator,
          int&nbsp;startIndex,
          int&nbsp;endIndex)</pre>
<div class="block"><p>Joins the elements of the provided array into a single String
 containing the provided list of elements.</p>

 <p>No delimiter is added before or after the list.
 A <code>null</code> separator is the same as an empty String ("").
 Null objects or empty strings within the array are represented by
 empty strings.</p>

 <pre>
 StringUtils.join(null, *, *, *)                = null
 StringUtils.join([], *, *, *)                  = ""
 StringUtils.join([null], *, *, *)              = ""
 StringUtils.join(["a", "b", "c"], "--", 0, 3)  = "a--b--c"
 StringUtils.join(["a", "b", "c"], "--", 1, 3)  = "b--c"
 StringUtils.join(["a", "b", "c"], "--", 2, 3)  = "c"
 StringUtils.join(["a", "b", "c"], "--", 2, 2)  = ""
 StringUtils.join(["a", "b", "c"], null, 0, 3)  = "abc"
 StringUtils.join(["a", "b", "c"], "", 0, 3)    = "abc"
 StringUtils.join([null, "", "a"], ',', 0, 3)   = ",,a"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array of values to join together, may be null</dd><dd><code>separator</code> - the separator character to use, null treated as ""</dd><dd><code>startIndex</code> - the first index to start joining from.</dd><dd><code>endIndex</code> - the index to stop joining from (exclusive).</dd>
<dt><span class="strong">Returns:</span></dt><dd>the joined String, <code>null</code> if null array input; or the empty string
 if <code>endIndex - startIndex &lt;= 0</code>. The number of joined entries is given by
 <code>endIndex - startIndex</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/ArrayIndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">ArrayIndexOutOfBoundsException</a></code> - ife<br>
 <code>startIndex &lt; 0</code> or <br>
 <code>startIndex &gt;= array.length()</code> or <br>
 <code>endIndex &lt; 0</code> or <br>
 <code>endIndex &gt; array.length()</code></dd></dl>
</li>
</ul>
<a name="join(java.util.Iterator, char)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>join</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;join(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&lt;?&gt;&nbsp;iterator,
          char&nbsp;separator)</pre>
<div class="block"><p>Joins the elements of the provided <code>Iterator</code> into
 a single String containing the provided elements.</p>

 <p>No delimiter is added before or after the list. Null objects or empty
 strings within the iteration are represented by empty strings.</p>

 <p>See the examples here: <a href="../../../../org/apache/commons/lang3/StringUtils.html#join(java.lang.Object[], char)"><code>join(Object[],char)</code></a>. </p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>iterator</code> - the <code>Iterator</code> of values to join together, may be null</dd><dd><code>separator</code> - the separator character to use</dd>
<dt><span class="strong">Returns:</span></dt><dd>the joined String, <code>null</code> if null iterator input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0</dd></dl>
</li>
</ul>
<a name="join(java.util.Iterator, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>join</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;join(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&lt;?&gt;&nbsp;iterator,
          <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separator)</pre>
<div class="block"><p>Joins the elements of the provided <code>Iterator</code> into
 a single String containing the provided elements.</p>

 <p>No delimiter is added before or after the list.
 A <code>null</code> separator is the same as an empty String ("").</p>

 <p>See the examples here: <a href="../../../../org/apache/commons/lang3/StringUtils.html#join(java.lang.Object[], java.lang.String)"><code>join(Object[],String)</code></a>. </p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>iterator</code> - the <code>Iterator</code> of values to join together, may be null</dd><dd><code>separator</code> - the separator character to use, null treated as ""</dd>
<dt><span class="strong">Returns:</span></dt><dd>the joined String, <code>null</code> if null iterator input</dd></dl>
</li>
</ul>
<a name="join(java.lang.Iterable, char)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>join</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;join(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;?&gt;&nbsp;iterable,
          char&nbsp;separator)</pre>
<div class="block"><p>Joins the elements of the provided <code>Iterable</code> into
 a single String containing the provided elements.</p>

 <p>No delimiter is added before or after the list. Null objects or empty
 strings within the iteration are represented by empty strings.</p>

 <p>See the examples here: <a href="../../../../org/apache/commons/lang3/StringUtils.html#join(java.lang.Object[], char)"><code>join(Object[],char)</code></a>. </p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>iterable</code> - the <code>Iterable</code> providing the values to join together, may be null</dd><dd><code>separator</code> - the separator character to use</dd>
<dt><span class="strong">Returns:</span></dt><dd>the joined String, <code>null</code> if null iterator input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.3</dd></dl>
</li>
</ul>
<a name="join(java.lang.Iterable, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>join</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;join(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;?&gt;&nbsp;iterable,
          <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separator)</pre>
<div class="block"><p>Joins the elements of the provided <code>Iterable</code> into
 a single String containing the provided elements.</p>

 <p>No delimiter is added before or after the list.
 A <code>null</code> separator is the same as an empty String ("").</p>

 <p>See the examples here: <a href="../../../../org/apache/commons/lang3/StringUtils.html#join(java.lang.Object[], java.lang.String)"><code>join(Object[],String)</code></a>. </p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>iterable</code> - the <code>Iterable</code> providing the values to join together, may be null</dd><dd><code>separator</code> - the separator character to use, null treated as ""</dd>
<dt><span class="strong">Returns:</span></dt><dd>the joined String, <code>null</code> if null iterator input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.3</dd></dl>
</li>
</ul>
<a name="deleteWhitespace(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deleteWhitespace</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;deleteWhitespace(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</pre>
<div class="block"><p>Deletes all whitespaces from a String as defined by
 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true#isWhitespace(char)" title="class or interface in java.lang"><code>Character.isWhitespace(char)</code></a>.</p>

 <pre>
 StringUtils.deleteWhitespace(null)         = null
 StringUtils.deleteWhitespace("")           = ""
 StringUtils.deleteWhitespace("abc")        = "abc"
 StringUtils.deleteWhitespace("   ab  c  ") = "abc"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to delete whitespace from, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the String without whitespaces, <code>null</code> if null String input</dd></dl>
</li>
</ul>
<a name="removeStart(java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeStart</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;removeStart(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;remove)</pre>
<div class="block"><p>Removes a substring only if it is at the beginning of a source string,
 otherwise returns the source string.</p>

 <p>A <code>null</code> source string will return <code>null</code>.
 An empty ("") source string will return the empty string.
 A <code>null</code> search string will return the source string.</p>

 <pre>
 StringUtils.removeStart(null, *)      = null
 StringUtils.removeStart("", *)        = ""
 StringUtils.removeStart(*, null)      = *
 StringUtils.removeStart("www.domain.com", "www.")   = "domain.com"
 StringUtils.removeStart("domain.com", "www.")       = "domain.com"
 StringUtils.removeStart("www.domain.com", "domain") = "www.domain.com"
 StringUtils.removeStart("abc", "")    = "abc"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the source String to search, may be null</dd><dd><code>remove</code> - the String to search for and remove, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the substring with the string removed if found,
  <code>null</code> if null String input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="removeStartIgnoreCase(java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeStartIgnoreCase</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;removeStartIgnoreCase(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                           <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;remove)</pre>
<div class="block"><p>Case insensitive removal of a substring if it is at the beginning of a source string,
 otherwise returns the source string.</p>

 <p>A <code>null</code> source string will return <code>null</code>.
 An empty ("") source string will return the empty string.
 A <code>null</code> search string will return the source string.</p>

 <pre>
 StringUtils.removeStartIgnoreCase(null, *)      = null
 StringUtils.removeStartIgnoreCase("", *)        = ""
 StringUtils.removeStartIgnoreCase(*, null)      = *
 StringUtils.removeStartIgnoreCase("www.domain.com", "www.")   = "domain.com"
 StringUtils.removeStartIgnoreCase("www.domain.com", "WWW.")   = "domain.com"
 StringUtils.removeStartIgnoreCase("domain.com", "www.")       = "domain.com"
 StringUtils.removeStartIgnoreCase("www.domain.com", "domain") = "www.domain.com"
 StringUtils.removeStartIgnoreCase("abc", "")    = "abc"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the source String to search, may be null</dd><dd><code>remove</code> - the String to search for (case insensitive) and remove, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the substring with the string removed if found,
  <code>null</code> if null String input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.4</dd></dl>
</li>
</ul>
<a name="removeEnd(java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeEnd</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;removeEnd(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
               <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;remove)</pre>
<div class="block"><p>Removes a substring only if it is at the end of a source string,
 otherwise returns the source string.</p>

 <p>A <code>null</code> source string will return <code>null</code>.
 An empty ("") source string will return the empty string.
 A <code>null</code> search string will return the source string.</p>

 <pre>
 StringUtils.removeEnd(null, *)      = null
 StringUtils.removeEnd("", *)        = ""
 StringUtils.removeEnd(*, null)      = *
 StringUtils.removeEnd("www.domain.com", ".com.")  = "www.domain.com"
 StringUtils.removeEnd("www.domain.com", ".com")   = "www.domain"
 StringUtils.removeEnd("www.domain.com", "domain") = "www.domain.com"
 StringUtils.removeEnd("abc", "")    = "abc"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the source String to search, may be null</dd><dd><code>remove</code> - the String to search for and remove, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the substring with the string removed if found,
  <code>null</code> if null String input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="removeEndIgnoreCase(java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeEndIgnoreCase</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;removeEndIgnoreCase(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                         <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;remove)</pre>
<div class="block"><p>Case insensitive removal of a substring if it is at the end of a source string,
 otherwise returns the source string.</p>

 <p>A <code>null</code> source string will return <code>null</code>.
 An empty ("") source string will return the empty string.
 A <code>null</code> search string will return the source string.</p>

 <pre>
 StringUtils.removeEndIgnoreCase(null, *)      = null
 StringUtils.removeEndIgnoreCase("", *)        = ""
 StringUtils.removeEndIgnoreCase(*, null)      = *
 StringUtils.removeEndIgnoreCase("www.domain.com", ".com.")  = "www.domain.com"
 StringUtils.removeEndIgnoreCase("www.domain.com", ".com")   = "www.domain"
 StringUtils.removeEndIgnoreCase("www.domain.com", "domain") = "www.domain.com"
 StringUtils.removeEndIgnoreCase("abc", "")    = "abc"
 StringUtils.removeEndIgnoreCase("www.domain.com", ".COM") = "www.domain")
 StringUtils.removeEndIgnoreCase("www.domain.COM", ".com") = "www.domain")
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the source String to search, may be null</dd><dd><code>remove</code> - the String to search for (case insensitive) and remove, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the substring with the string removed if found,
  <code>null</code> if null String input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.4</dd></dl>
</li>
</ul>
<a name="remove(java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>remove</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;remove(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
            <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;remove)</pre>
<div class="block"><p>Removes all occurrences of a substring from within the source string.</p>

 <p>A <code>null</code> source string will return <code>null</code>.
 An empty ("") source string will return the empty string.
 A <code>null</code> remove string will return the source string.
 An empty ("") remove string will return the source string.</p>

 <pre>
 StringUtils.remove(null, *)        = null
 StringUtils.remove("", *)          = ""
 StringUtils.remove(*, null)        = *
 StringUtils.remove(*, "")          = *
 StringUtils.remove("queued", "ue") = "qd"
 StringUtils.remove("queued", "zz") = "queued"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the source String to search, may be null</dd><dd><code>remove</code> - the String to search for and remove, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the substring with the string removed if found,
  <code>null</code> if null String input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="remove(java.lang.String, char)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>remove</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;remove(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
            char&nbsp;remove)</pre>
<div class="block"><p>Removes all occurrences of a character from within the source string.</p>

 <p>A <code>null</code> source string will return <code>null</code>.
 An empty ("") source string will return the empty string.</p>

 <pre>
 StringUtils.remove(null, *)       = null
 StringUtils.remove("", *)         = ""
 StringUtils.remove("queued", 'u') = "qeed"
 StringUtils.remove("queued", 'z') = "queued"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the source String to search, may be null</dd><dd><code>remove</code> - the char to search for and remove, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the substring with the char removed if found,
  <code>null</code> if null String input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="replaceOnce(java.lang.String, java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>replaceOnce</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;replaceOnce(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;text,
                 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;searchString,
                 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;replacement)</pre>
<div class="block"><p>Replaces a String with another String inside a larger String, once.</p>

 <p>A <code>null</code> reference passed to this method is a no-op.</p>

 <pre>
 StringUtils.replaceOnce(null, *, *)        = null
 StringUtils.replaceOnce("", *, *)          = ""
 StringUtils.replaceOnce("any", null, *)    = "any"
 StringUtils.replaceOnce("any", *, null)    = "any"
 StringUtils.replaceOnce("any", "", *)      = "any"
 StringUtils.replaceOnce("aba", "a", null)  = "aba"
 StringUtils.replaceOnce("aba", "a", "")    = "ba"
 StringUtils.replaceOnce("aba", "a", "z")   = "zba"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - text to search and replace in, may be null</dd><dd><code>searchString</code> - the String to search for, may be null</dd><dd><code>replacement</code> - the String to replace with, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the text with any replacements processed,
  <code>null</code> if null String input</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/commons/lang3/StringUtils.html#replace(java.lang.String, java.lang.String, java.lang.String, int)"><code>replace(String text, String searchString, String replacement, int max)</code></a></dd></dl>
</li>
</ul>
<a name="replacePattern(java.lang.String, java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>replacePattern</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;replacePattern(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;source,
                    <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;regex,
                    <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;replacement)</pre>
<div class="block">Replaces each substring of the source String that matches the given regular expression with the given
 replacement using the <a href="http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html?is-external=true#DOTALL" title="class or interface in java.util.regex"><code>Pattern.DOTALL</code></a> option. DOTALL is also know as single-line mode in Perl. This call
 is also equivalent to:
 <ul>
 <li><code>source.replaceAll(&amp;quot;(?s)&amp;quot; + regex, replacement)</code></li>
 <li><code>Pattern.compile(regex, Pattern.DOTALL).matcher(source).replaceAll(replacement)</code></li>
 </ul></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>source</code> - the source string</dd><dd><code>regex</code> - the regular expression to which this string is to be matched</dd><dd><code>replacement</code> - the string to be substituted for each match</dd>
<dt><span class="strong">Returns:</span></dt><dd>The resulting <code>String</code></dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#replaceAll(java.lang.String, java.lang.String)" title="class or interface in java.lang"><code>String.replaceAll(String, String)</code></a>, 
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html?is-external=true#DOTALL" title="class or interface in java.util.regex"><code>Pattern.DOTALL</code></a></dd></dl>
</li>
</ul>
<a name="removePattern(java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removePattern</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;removePattern(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;source,
                   <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;regex)</pre>
<div class="block">Removes each substring of the source String that matches the given regular expression using the DOTALL option.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>source</code> - the source string</dd><dd><code>regex</code> - the regular expression to which this string is to be matched</dd>
<dt><span class="strong">Returns:</span></dt><dd>The resulting <code>String</code></dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#replaceAll(java.lang.String, java.lang.String)" title="class or interface in java.lang"><code>String.replaceAll(String, String)</code></a>, 
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html?is-external=true#DOTALL" title="class or interface in java.util.regex"><code>Pattern.DOTALL</code></a></dd></dl>
</li>
</ul>
<a name="replace(java.lang.String, java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>replace</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;replace(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;text,
             <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;searchString,
             <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;replacement)</pre>
<div class="block"><p>Replaces all occurrences of a String within another String.</p>

 <p>A <code>null</code> reference passed to this method is a no-op.</p>

 <pre>
 StringUtils.replace(null, *, *)        = null
 StringUtils.replace("", *, *)          = ""
 StringUtils.replace("any", null, *)    = "any"
 StringUtils.replace("any", *, null)    = "any"
 StringUtils.replace("any", "", *)      = "any"
 StringUtils.replace("aba", "a", null)  = "aba"
 StringUtils.replace("aba", "a", "")    = "b"
 StringUtils.replace("aba", "a", "z")   = "zbz"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - text to search and replace in, may be null</dd><dd><code>searchString</code> - the String to search for, may be null</dd><dd><code>replacement</code> - the String to replace it with, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the text with any replacements processed,
  <code>null</code> if null String input</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/commons/lang3/StringUtils.html#replace(java.lang.String, java.lang.String, java.lang.String, int)"><code>replace(String text, String searchString, String replacement, int max)</code></a></dd></dl>
</li>
</ul>
<a name="replace(java.lang.String, java.lang.String, java.lang.String, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>replace</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;replace(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;text,
             <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;searchString,
             <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;replacement,
             int&nbsp;max)</pre>
<div class="block"><p>Replaces a String with another String inside a larger String,
 for the first <code>max</code> values of the search String.</p>

 <p>A <code>null</code> reference passed to this method is a no-op.</p>

 <pre>
 StringUtils.replace(null, *, *, *)         = null
 StringUtils.replace("", *, *, *)           = ""
 StringUtils.replace("any", null, *, *)     = "any"
 StringUtils.replace("any", *, null, *)     = "any"
 StringUtils.replace("any", "", *, *)       = "any"
 StringUtils.replace("any", *, *, 0)        = "any"
 StringUtils.replace("abaa", "a", null, -1) = "abaa"
 StringUtils.replace("abaa", "a", "", -1)   = "b"
 StringUtils.replace("abaa", "a", "z", 0)   = "abaa"
 StringUtils.replace("abaa", "a", "z", 1)   = "zbaa"
 StringUtils.replace("abaa", "a", "z", 2)   = "zbza"
 StringUtils.replace("abaa", "a", "z", -1)  = "zbzz"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - text to search and replace in, may be null</dd><dd><code>searchString</code> - the String to search for, may be null</dd><dd><code>replacement</code> - the String to replace it with, may be null</dd><dd><code>max</code> - maximum number of values to replace, or <code>-1</code> if no maximum</dd>
<dt><span class="strong">Returns:</span></dt><dd>the text with any replacements processed,
  <code>null</code> if null String input</dd></dl>
</li>
</ul>
<a name="replaceEach(java.lang.String, java.lang.String[], java.lang.String[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>replaceEach</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;replaceEach(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;text,
                 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;searchList,
                 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;replacementList)</pre>
<div class="block"><p>
 Replaces all occurrences of Strings within another String.
 </p>

 <p>
 A <code>null</code> reference passed to this method is a no-op, or if
 any "search string" or "string to replace" is null, that replace will be
 ignored. This will not repeat. For repeating replaces, call the
 overloaded method.
 </p>

 <pre>
  StringUtils.replaceEach(null, *, *)        = null
  StringUtils.replaceEach("", *, *)          = ""
  StringUtils.replaceEach("aba", null, null) = "aba"
  StringUtils.replaceEach("aba", new String[0], null) = "aba"
  StringUtils.replaceEach("aba", null, new String[0]) = "aba"
  StringUtils.replaceEach("aba", new String[]{"a"}, null)  = "aba"
  StringUtils.replaceEach("aba", new String[]{"a"}, new String[]{""})  = "b"
  StringUtils.replaceEach("aba", new String[]{null}, new String[]{"a"})  = "aba"
  StringUtils.replaceEach("abcde", new String[]{"ab", "d"}, new String[]{"w", "t"})  = "wcte"
  (example of how it does not repeat)
  StringUtils.replaceEach("abcde", new String[]{"ab", "d"}, new String[]{"d", "t"})  = "dcte"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - text to search and replace in, no-op if null</dd><dd><code>searchList</code> - the Strings to search for, no-op if null</dd><dd><code>replacementList</code> - the Strings to replace them with, no-op if null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the text with any replacements processed, <code>null</code> if
         null String input</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the lengths of the arrays are not the same (null is ok,
             and/or size 0)</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.4</dd></dl>
</li>
</ul>
<a name="replaceEachRepeatedly(java.lang.String, java.lang.String[], java.lang.String[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>replaceEachRepeatedly</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;replaceEachRepeatedly(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;text,
                           <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;searchList,
                           <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;replacementList)</pre>
<div class="block"><p>
 Replaces all occurrences of Strings within another String.
 </p>

 <p>
 A <code>null</code> reference passed to this method is a no-op, or if
 any "search string" or "string to replace" is null, that replace will be
 ignored.
 </p>

 <pre>
  StringUtils.replaceEach(null, *, *, *) = null
  StringUtils.replaceEach("", *, *, *) = ""
  StringUtils.replaceEach("aba", null, null, *) = "aba"
  StringUtils.replaceEach("aba", new String[0], null, *) = "aba"
  StringUtils.replaceEach("aba", null, new String[0], *) = "aba"
  StringUtils.replaceEach("aba", new String[]{"a"}, null, *) = "aba"
  StringUtils.replaceEach("aba", new String[]{"a"}, new String[]{""}, *) = "b"
  StringUtils.replaceEach("aba", new String[]{null}, new String[]{"a"}, *) = "aba"
  StringUtils.replaceEach("abcde", new String[]{"ab", "d"}, new String[]{"w", "t"}, *) = "wcte"
  (example of how it repeats)
  StringUtils.replaceEach("abcde", new String[]{"ab", "d"}, new String[]{"d", "t"}, false) = "dcte"
  StringUtils.replaceEach("abcde", new String[]{"ab", "d"}, new String[]{"d", "t"}, true) = "tcte"
  StringUtils.replaceEach("abcde", new String[]{"ab", "d"}, new String[]{"d", "ab"}, true) = IllegalStateException
  StringUtils.replaceEach("abcde", new String[]{"ab", "d"}, new String[]{"d", "ab"}, false) = "dcabe"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - text to search and replace in, no-op if null</dd><dd><code>searchList</code> - the Strings to search for, no-op if null</dd><dd><code>replacementList</code> - the Strings to replace them with, no-op if null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the text with any replacements processed, <code>null</code> if
         null String input</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</a></code> - if the search is repeating and there is an endless loop due
             to outputs of one being inputs to another</dd>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the lengths of the arrays are not the same (null is ok,
             and/or size 0)</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.4</dd></dl>
</li>
</ul>
<a name="replaceChars(java.lang.String, char, char)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>replaceChars</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;replaceChars(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                  char&nbsp;searchChar,
                  char&nbsp;replaceChar)</pre>
<div class="block"><p>Replaces all occurrences of a character in a String with another.
 This is a null-safe version of <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#replace(char, char)" title="class or interface in java.lang"><code>String.replace(char, char)</code></a>.</p>

 <p>A <code>null</code> string input returns <code>null</code>.
 An empty ("") string input returns an empty string.</p>

 <pre>
 StringUtils.replaceChars(null, *, *)        = null
 StringUtils.replaceChars("", *, *)          = ""
 StringUtils.replaceChars("abcba", 'b', 'y') = "aycya"
 StringUtils.replaceChars("abcba", 'z', 'y') = "abcba"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - String to replace characters in, may be null</dd><dd><code>searchChar</code> - the character to search for, may be null</dd><dd><code>replaceChar</code> - the character to replace, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>modified String, <code>null</code> if null string input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0</dd></dl>
</li>
</ul>
<a name="replaceChars(java.lang.String, java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>replaceChars</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;replaceChars(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                  <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;searchChars,
                  <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;replaceChars)</pre>
<div class="block"><p>Replaces multiple characters in a String in one go.
 This method can also be used to delete characters.</p>

 <p>For example:<br>
 <code>replaceChars(&quot;hello&quot;, &quot;ho&quot;, &quot;jy&quot;) = jelly</code>.</p>

 <p>A <code>null</code> string input returns <code>null</code>.
 An empty ("") string input returns an empty string.
 A null or empty set of search characters returns the input string.</p>

 <p>The length of the search characters should normally equal the length
 of the replace characters.
 If the search characters is longer, then the extra search characters
 are deleted.
 If the search characters is shorter, then the extra replace characters
 are ignored.</p>

 <pre>
 StringUtils.replaceChars(null, *, *)           = null
 StringUtils.replaceChars("", *, *)             = ""
 StringUtils.replaceChars("abc", null, *)       = "abc"
 StringUtils.replaceChars("abc", "", *)         = "abc"
 StringUtils.replaceChars("abc", "b", null)     = "ac"
 StringUtils.replaceChars("abc", "b", "")       = "ac"
 StringUtils.replaceChars("abcba", "bc", "yz")  = "ayzya"
 StringUtils.replaceChars("abcba", "bc", "y")   = "ayya"
 StringUtils.replaceChars("abcba", "bc", "yzx") = "ayzya"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - String to replace characters in, may be null</dd><dd><code>searchChars</code> - a set of characters to search for, may be null</dd><dd><code>replaceChars</code> - a set of characters to replace, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>modified String, <code>null</code> if null string input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0</dd></dl>
</li>
</ul>
<a name="overlay(java.lang.String, java.lang.String, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>overlay</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;overlay(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
             <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;overlay,
             int&nbsp;start,
             int&nbsp;end)</pre>
<div class="block"><p>Overlays part of a String with another String.</p>

 <p>A <code>null</code> string input returns <code>null</code>.
 A negative index is treated as zero.
 An index greater than the string length is treated as the string length.
 The start index is always the smaller of the two indices.</p>

 <pre>
 StringUtils.overlay(null, *, *, *)            = null
 StringUtils.overlay("", "abc", 0, 0)          = "abc"
 StringUtils.overlay("abcdef", null, 2, 4)     = "abef"
 StringUtils.overlay("abcdef", "", 2, 4)       = "abef"
 StringUtils.overlay("abcdef", "", 4, 2)       = "abef"
 StringUtils.overlay("abcdef", "zzzz", 2, 4)   = "abzzzzef"
 StringUtils.overlay("abcdef", "zzzz", 4, 2)   = "abzzzzef"
 StringUtils.overlay("abcdef", "zzzz", -1, 4)  = "zzzzef"
 StringUtils.overlay("abcdef", "zzzz", 2, 8)   = "abzzzz"
 StringUtils.overlay("abcdef", "zzzz", -2, -3) = "zzzzabcdef"
 StringUtils.overlay("abcdef", "zzzz", 8, 10)  = "abcdefzzzz"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to do overlaying in, may be null</dd><dd><code>overlay</code> - the String to overlay, may be null</dd><dd><code>start</code> - the position to start overlaying at</dd><dd><code>end</code> - the position to stop overlaying before</dd>
<dt><span class="strong">Returns:</span></dt><dd>overlayed String, <code>null</code> if null String input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0</dd></dl>
</li>
</ul>
<a name="chomp(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>chomp</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;chomp(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</pre>
<div class="block"><p>Removes one newline from end of a String if it's there,
 otherwise leave it alone.  A newline is &quot;<code>\n</code>&quot;,
 &quot;<code>\r</code>&quot;, or &quot;<code>\r\n</code>&quot;.</p>

 <p>NOTE: This method changed in 2.0.
 It now more closely matches Perl chomp.</p>

 <pre>
 StringUtils.chomp(null)          = null
 StringUtils.chomp("")            = ""
 StringUtils.chomp("abc \r")      = "abc "
 StringUtils.chomp("abc\n")       = "abc"
 StringUtils.chomp("abc\r\n")     = "abc"
 StringUtils.chomp("abc\r\n\r\n") = "abc\r\n"
 StringUtils.chomp("abc\n\r")     = "abc\n"
 StringUtils.chomp("abc\n\rabc")  = "abc\n\rabc"
 StringUtils.chomp("\r")          = ""
 StringUtils.chomp("\n")          = ""
 StringUtils.chomp("\r\n")        = ""
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to chomp a newline from, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>String without newline, <code>null</code> if null String input</dd></dl>
</li>
</ul>
<a name="chomp(java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>chomp</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;chomp(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                      <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separator)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>This feature will be removed in Lang 4.0, use <a href="../../../../org/apache/commons/lang3/StringUtils.html#removeEnd(java.lang.String, java.lang.String)"><code>removeEnd(String, String)</code></a> instead</i></div>
<div class="block"><p>Removes <code>separator</code> from the end of
 <code>str</code> if it's there, otherwise leave it alone.</p>

 <p>NOTE: This method changed in version 2.0.
 It now more closely matches Perl chomp.
 For the previous behavior, use <a href="../../../../org/apache/commons/lang3/StringUtils.html#substringBeforeLast(java.lang.String, java.lang.String)"><code>substringBeforeLast(String, String)</code></a>.
 This method uses <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#endsWith(java.lang.String)" title="class or interface in java.lang"><code>String.endsWith(String)</code></a>.</p>

 <pre>
 StringUtils.chomp(null, *)         = null
 StringUtils.chomp("", *)           = ""
 StringUtils.chomp("foobar", "bar") = "foo"
 StringUtils.chomp("foobar", "baz") = "foobar"
 StringUtils.chomp("foo", "foo")    = ""
 StringUtils.chomp("foo ", "foo")   = "foo "
 StringUtils.chomp(" foo", "foo")   = " "
 StringUtils.chomp("foo", "foooo")  = "foo"
 StringUtils.chomp("foo", "")       = "foo"
 StringUtils.chomp("foo", null)     = "foo"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to chomp from, may be null</dd><dd><code>separator</code> - separator String, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>String without trailing separator, <code>null</code> if null String input</dd></dl>
</li>
</ul>
<a name="chop(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>chop</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;chop(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</pre>
<div class="block"><p>Remove the last character from a String.</p>

 <p>If the String ends in <code>\r\n</code>, then remove both
 of them.</p>

 <pre>
 StringUtils.chop(null)          = null
 StringUtils.chop("")            = ""
 StringUtils.chop("abc \r")      = "abc "
 StringUtils.chop("abc\n")       = "abc"
 StringUtils.chop("abc\r\n")     = "abc"
 StringUtils.chop("abc")         = "ab"
 StringUtils.chop("abc\nabc")    = "abc\nab"
 StringUtils.chop("a")           = ""
 StringUtils.chop("\r")          = ""
 StringUtils.chop("\n")          = ""
 StringUtils.chop("\r\n")        = ""
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to chop last character from, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>String without last character, <code>null</code> if null String input</dd></dl>
</li>
</ul>
<a name="repeat(java.lang.String, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>repeat</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;repeat(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
            int&nbsp;repeat)</pre>
<div class="block"><p>Repeat a String <code>repeat</code> times to form a
 new String.</p>

 <pre>
 StringUtils.repeat(null, 2) = null
 StringUtils.repeat("", 0)   = ""
 StringUtils.repeat("", 2)   = ""
 StringUtils.repeat("a", 3)  = "aaa"
 StringUtils.repeat("ab", 2) = "abab"
 StringUtils.repeat("a", -2) = ""
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to repeat, may be null</dd><dd><code>repeat</code> - number of times to repeat str, negative treated as zero</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new String consisting of the original String repeated,
  <code>null</code> if null String input</dd></dl>
</li>
</ul>
<a name="repeat(java.lang.String, java.lang.String, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>repeat</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;repeat(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
            <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separator,
            int&nbsp;repeat)</pre>
<div class="block"><p>Repeat a String <code>repeat</code> times to form a
 new String, with a String separator injected each time. </p>

 <pre>
 StringUtils.repeat(null, null, 2) = null
 StringUtils.repeat(null, "x", 2)  = null
 StringUtils.repeat("", null, 0)   = ""
 StringUtils.repeat("", "", 2)     = ""
 StringUtils.repeat("", "x", 3)    = "xxx"
 StringUtils.repeat("?", ", ", 3)  = "?, ?, ?"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to repeat, may be null</dd><dd><code>separator</code> - the String to inject, may be null</dd><dd><code>repeat</code> - number of times to repeat str, negative treated as zero</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new String consisting of the original String repeated,
  <code>null</code> if null String input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5</dd></dl>
</li>
</ul>
<a name="repeat(char, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>repeat</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;repeat(char&nbsp;ch,
            int&nbsp;repeat)</pre>
<div class="block"><p>Returns padding using the specified delimiter repeated
 to a given length.</p>

 <pre>
 StringUtils.repeat('e', 0)  = ""
 StringUtils.repeat('e', 3)  = "eee"
 StringUtils.repeat('e', -2) = ""
 </pre>

 <p>Note: this method doesn't not support padding with
 <a href="http://www.unicode.org/glossary/#supplementary_character">Unicode Supplementary Characters</a>
 as they require a pair of <code>char</code>s to be represented.
 If you are needing to support full I18N of your applications
 consider using <a href="../../../../org/apache/commons/lang3/StringUtils.html#repeat(java.lang.String, int)"><code>repeat(String, int)</code></a> instead.
 </p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>ch</code> - character to repeat</dd><dd><code>repeat</code> - number of times to repeat char, negative treated as zero</dd>
<dt><span class="strong">Returns:</span></dt><dd>String with repeated character</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/commons/lang3/StringUtils.html#repeat(java.lang.String, int)"><code>repeat(String, int)</code></a></dd></dl>
</li>
</ul>
<a name="rightPad(java.lang.String, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rightPad</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;rightPad(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
              int&nbsp;size)</pre>
<div class="block"><p>Right pad a String with spaces (' ').</p>

 <p>The String is padded to the size of <code>size</code>.</p>

 <pre>
 StringUtils.rightPad(null, *)   = null
 StringUtils.rightPad("", 3)     = "   "
 StringUtils.rightPad("bat", 3)  = "bat"
 StringUtils.rightPad("bat", 5)  = "bat  "
 StringUtils.rightPad("bat", 1)  = "bat"
 StringUtils.rightPad("bat", -1) = "bat"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to pad out, may be null</dd><dd><code>size</code> - the size to pad to</dd>
<dt><span class="strong">Returns:</span></dt><dd>right padded String or original String if no padding is necessary,
  <code>null</code> if null String input</dd></dl>
</li>
</ul>
<a name="rightPad(java.lang.String, int, char)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rightPad</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;rightPad(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
              int&nbsp;size,
              char&nbsp;padChar)</pre>
<div class="block"><p>Right pad a String with a specified character.</p>

 <p>The String is padded to the size of <code>size</code>.</p>

 <pre>
 StringUtils.rightPad(null, *, *)     = null
 StringUtils.rightPad("", 3, 'z')     = "zzz"
 StringUtils.rightPad("bat", 3, 'z')  = "bat"
 StringUtils.rightPad("bat", 5, 'z')  = "batzz"
 StringUtils.rightPad("bat", 1, 'z')  = "bat"
 StringUtils.rightPad("bat", -1, 'z') = "bat"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to pad out, may be null</dd><dd><code>size</code> - the size to pad to</dd><dd><code>padChar</code> - the character to pad with</dd>
<dt><span class="strong">Returns:</span></dt><dd>right padded String or original String if no padding is necessary,
  <code>null</code> if null String input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0</dd></dl>
</li>
</ul>
<a name="rightPad(java.lang.String, int, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rightPad</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;rightPad(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
              int&nbsp;size,
              <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;padStr)</pre>
<div class="block"><p>Right pad a String with a specified String.</p>

 <p>The String is padded to the size of <code>size</code>.</p>

 <pre>
 StringUtils.rightPad(null, *, *)      = null
 StringUtils.rightPad("", 3, "z")      = "zzz"
 StringUtils.rightPad("bat", 3, "yz")  = "bat"
 StringUtils.rightPad("bat", 5, "yz")  = "batyz"
 StringUtils.rightPad("bat", 8, "yz")  = "batyzyzy"
 StringUtils.rightPad("bat", 1, "yz")  = "bat"
 StringUtils.rightPad("bat", -1, "yz") = "bat"
 StringUtils.rightPad("bat", 5, null)  = "bat  "
 StringUtils.rightPad("bat", 5, "")    = "bat  "
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to pad out, may be null</dd><dd><code>size</code> - the size to pad to</dd><dd><code>padStr</code> - the String to pad with, null or empty treated as single space</dd>
<dt><span class="strong">Returns:</span></dt><dd>right padded String or original String if no padding is necessary,
  <code>null</code> if null String input</dd></dl>
</li>
</ul>
<a name="leftPad(java.lang.String, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>leftPad</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;leftPad(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
             int&nbsp;size)</pre>
<div class="block"><p>Left pad a String with spaces (' ').</p>

 <p>The String is padded to the size of <code>size</code>.</p>

 <pre>
 StringUtils.leftPad(null, *)   = null
 StringUtils.leftPad("", 3)     = "   "
 StringUtils.leftPad("bat", 3)  = "bat"
 StringUtils.leftPad("bat", 5)  = "  bat"
 StringUtils.leftPad("bat", 1)  = "bat"
 StringUtils.leftPad("bat", -1) = "bat"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to pad out, may be null</dd><dd><code>size</code> - the size to pad to</dd>
<dt><span class="strong">Returns:</span></dt><dd>left padded String or original String if no padding is necessary,
  <code>null</code> if null String input</dd></dl>
</li>
</ul>
<a name="leftPad(java.lang.String, int, char)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>leftPad</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;leftPad(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
             int&nbsp;size,
             char&nbsp;padChar)</pre>
<div class="block"><p>Left pad a String with a specified character.</p>

 <p>Pad to a size of <code>size</code>.</p>

 <pre>
 StringUtils.leftPad(null, *, *)     = null
 StringUtils.leftPad("", 3, 'z')     = "zzz"
 StringUtils.leftPad("bat", 3, 'z')  = "bat"
 StringUtils.leftPad("bat", 5, 'z')  = "zzbat"
 StringUtils.leftPad("bat", 1, 'z')  = "bat"
 StringUtils.leftPad("bat", -1, 'z') = "bat"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to pad out, may be null</dd><dd><code>size</code> - the size to pad to</dd><dd><code>padChar</code> - the character to pad with</dd>
<dt><span class="strong">Returns:</span></dt><dd>left padded String or original String if no padding is necessary,
  <code>null</code> if null String input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0</dd></dl>
</li>
</ul>
<a name="leftPad(java.lang.String, int, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>leftPad</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;leftPad(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
             int&nbsp;size,
             <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;padStr)</pre>
<div class="block"><p>Left pad a String with a specified String.</p>

 <p>Pad to a size of <code>size</code>.</p>

 <pre>
 StringUtils.leftPad(null, *, *)      = null
 StringUtils.leftPad("", 3, "z")      = "zzz"
 StringUtils.leftPad("bat", 3, "yz")  = "bat"
 StringUtils.leftPad("bat", 5, "yz")  = "yzbat"
 StringUtils.leftPad("bat", 8, "yz")  = "yzyzybat"
 StringUtils.leftPad("bat", 1, "yz")  = "bat"
 StringUtils.leftPad("bat", -1, "yz") = "bat"
 StringUtils.leftPad("bat", 5, null)  = "  bat"
 StringUtils.leftPad("bat", 5, "")    = "  bat"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to pad out, may be null</dd><dd><code>size</code> - the size to pad to</dd><dd><code>padStr</code> - the String to pad with, null or empty treated as single space</dd>
<dt><span class="strong">Returns:</span></dt><dd>left padded String or original String if no padding is necessary,
  <code>null</code> if null String input</dd></dl>
</li>
</ul>
<a name="length(java.lang.CharSequence)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>length</h4>
<pre>public static&nbsp;int&nbsp;length(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs)</pre>
<div class="block">Gets a CharSequence length or <code>0</code> if the CharSequence is
 <code>null</code>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cs</code> - a CharSequence or <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>CharSequence length or <code>0</code> if the CharSequence is
         <code>null</code>.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.4, 3.0 Changed signature from length(String) to length(CharSequence)</dd></dl>
</li>
</ul>
<a name="center(java.lang.String, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>center</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;center(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
            int&nbsp;size)</pre>
<div class="block"><p>Centers a String in a larger String of size <code>size</code>
 using the space character (' ').</p>

 <p>If the size is less than the String length, the String is returned.
 A <code>null</code> String returns <code>null</code>.
 A negative size is treated as zero.</p>

 <p>Equivalent to <code>center(str, size, " ")</code>.</p>

 <pre>
 StringUtils.center(null, *)   = null
 StringUtils.center("", 4)     = "    "
 StringUtils.center("ab", -1)  = "ab"
 StringUtils.center("ab", 4)   = " ab "
 StringUtils.center("abcd", 2) = "abcd"
 StringUtils.center("a", 4)    = " a  "
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to center, may be null</dd><dd><code>size</code> - the int size of new String, negative treated as zero</dd>
<dt><span class="strong">Returns:</span></dt><dd>centered String, <code>null</code> if null String input</dd></dl>
</li>
</ul>
<a name="center(java.lang.String, int, char)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>center</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;center(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
            int&nbsp;size,
            char&nbsp;padChar)</pre>
<div class="block"><p>Centers a String in a larger String of size <code>size</code>.
 Uses a supplied character as the value to pad the String with.</p>

 <p>If the size is less than the String length, the String is returned.
 A <code>null</code> String returns <code>null</code>.
 A negative size is treated as zero.</p>

 <pre>
 StringUtils.center(null, *, *)     = null
 StringUtils.center("", 4, ' ')     = "    "
 StringUtils.center("ab", -1, ' ')  = "ab"
 StringUtils.center("ab", 4, ' ')   = " ab "
 StringUtils.center("abcd", 2, ' ') = "abcd"
 StringUtils.center("a", 4, ' ')    = " a  "
 StringUtils.center("a", 4, 'y')    = "yayy"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to center, may be null</dd><dd><code>size</code> - the int size of new String, negative treated as zero</dd><dd><code>padChar</code> - the character to pad the new String with</dd>
<dt><span class="strong">Returns:</span></dt><dd>centered String, <code>null</code> if null String input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0</dd></dl>
</li>
</ul>
<a name="center(java.lang.String, int, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>center</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;center(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
            int&nbsp;size,
            <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;padStr)</pre>
<div class="block"><p>Centers a String in a larger String of size <code>size</code>.
 Uses a supplied String as the value to pad the String with.</p>

 <p>If the size is less than the String length, the String is returned.
 A <code>null</code> String returns <code>null</code>.
 A negative size is treated as zero.</p>

 <pre>
 StringUtils.center(null, *, *)     = null
 StringUtils.center("", 4, " ")     = "    "
 StringUtils.center("ab", -1, " ")  = "ab"
 StringUtils.center("ab", 4, " ")   = " ab "
 StringUtils.center("abcd", 2, " ") = "abcd"
 StringUtils.center("a", 4, " ")    = " a  "
 StringUtils.center("a", 4, "yz")   = "yayz"
 StringUtils.center("abc", 7, null) = "  abc  "
 StringUtils.center("abc", 7, "")   = "  abc  "
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to center, may be null</dd><dd><code>size</code> - the int size of new String, negative treated as zero</dd><dd><code>padStr</code> - the String to pad the new String with, must not be null or empty</dd>
<dt><span class="strong">Returns:</span></dt><dd>centered String, <code>null</code> if null String input</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if padStr is <code>null</code> or empty</dd></dl>
</li>
</ul>
<a name="upperCase(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>upperCase</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;upperCase(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</pre>
<div class="block"><p>Converts a String to upper case as per <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#toUpperCase()" title="class or interface in java.lang"><code>String.toUpperCase()</code></a>.</p>

 <p>A <code>null</code> input String returns <code>null</code>.</p>

 <pre>
 StringUtils.upperCase(null)  = null
 StringUtils.upperCase("")    = ""
 StringUtils.upperCase("aBc") = "ABC"
 </pre>

 <p><strong>Note:</strong> As described in the documentation for <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#toUpperCase()" title="class or interface in java.lang"><code>String.toUpperCase()</code></a>,
 the result of this method is affected by the current locale.
 For platform-independent case transformations, the method <a href="../../../../org/apache/commons/lang3/StringUtils.html#lowerCase(java.lang.String, java.util.Locale)"><code>lowerCase(String, Locale)</code></a>
 should be used with a specific locale (e.g. <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Locale.html?is-external=true#ENGLISH" title="class or interface in java.util"><code>Locale.ENGLISH</code></a>).</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to upper case, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the upper cased String, <code>null</code> if null String input</dd></dl>
</li>
</ul>
<a name="upperCase(java.lang.String, java.util.Locale)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>upperCase</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;upperCase(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
               <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a>&nbsp;locale)</pre>
<div class="block"><p>Converts a String to upper case as per <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#toUpperCase(java.util.Locale)" title="class or interface in java.lang"><code>String.toUpperCase(Locale)</code></a>.</p>

 <p>A <code>null</code> input String returns <code>null</code>.</p>

 <pre>
 StringUtils.upperCase(null, Locale.ENGLISH)  = null
 StringUtils.upperCase("", Locale.ENGLISH)    = ""
 StringUtils.upperCase("aBc", Locale.ENGLISH) = "ABC"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to upper case, may be null</dd><dd><code>locale</code> - the locale that defines the case transformation rules, must not be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the upper cased String, <code>null</code> if null String input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5</dd></dl>
</li>
</ul>
<a name="lowerCase(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lowerCase</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;lowerCase(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</pre>
<div class="block"><p>Converts a String to lower case as per <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#toLowerCase()" title="class or interface in java.lang"><code>String.toLowerCase()</code></a>.</p>

 <p>A <code>null</code> input String returns <code>null</code>.</p>

 <pre>
 StringUtils.lowerCase(null)  = null
 StringUtils.lowerCase("")    = ""
 StringUtils.lowerCase("aBc") = "abc"
 </pre>

 <p><strong>Note:</strong> As described in the documentation for <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#toLowerCase()" title="class or interface in java.lang"><code>String.toLowerCase()</code></a>,
 the result of this method is affected by the current locale.
 For platform-independent case transformations, the method <a href="../../../../org/apache/commons/lang3/StringUtils.html#lowerCase(java.lang.String, java.util.Locale)"><code>lowerCase(String, Locale)</code></a>
 should be used with a specific locale (e.g. <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Locale.html?is-external=true#ENGLISH" title="class or interface in java.util"><code>Locale.ENGLISH</code></a>).</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to lower case, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the lower cased String, <code>null</code> if null String input</dd></dl>
</li>
</ul>
<a name="lowerCase(java.lang.String, java.util.Locale)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lowerCase</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;lowerCase(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
               <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a>&nbsp;locale)</pre>
<div class="block"><p>Converts a String to lower case as per <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#toLowerCase(java.util.Locale)" title="class or interface in java.lang"><code>String.toLowerCase(Locale)</code></a>.</p>

 <p>A <code>null</code> input String returns <code>null</code>.</p>

 <pre>
 StringUtils.lowerCase(null, Locale.ENGLISH)  = null
 StringUtils.lowerCase("", Locale.ENGLISH)    = ""
 StringUtils.lowerCase("aBc", Locale.ENGLISH) = "abc"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to lower case, may be null</dd><dd><code>locale</code> - the locale that defines the case transformation rules, must not be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the lower cased String, <code>null</code> if null String input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5</dd></dl>
</li>
</ul>
<a name="capitalize(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>capitalize</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;capitalize(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</pre>
<div class="block"><p>Capitalizes a String changing the first letter to title case as
 per <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true#toTitleCase(char)" title="class or interface in java.lang"><code>Character.toTitleCase(char)</code></a>. No other letters are changed.</p>

 <p>For a word based algorithm, see <a href="../../../../org/apache/commons/lang3/text/WordUtils.html#capitalize(java.lang.String)"><code>WordUtils.capitalize(String)</code></a>.
 A <code>null</code> input String returns <code>null</code>.</p>

 <pre>
 StringUtils.capitalize(null)  = null
 StringUtils.capitalize("")    = ""
 StringUtils.capitalize("cat") = "Cat"
 StringUtils.capitalize("cAt") = "CAt"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to capitalize, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the capitalized String, <code>null</code> if null String input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/commons/lang3/text/WordUtils.html#capitalize(java.lang.String)"><code>WordUtils.capitalize(String)</code></a>, 
<a href="../../../../org/apache/commons/lang3/StringUtils.html#uncapitalize(java.lang.String)"><code>uncapitalize(String)</code></a></dd></dl>
</li>
</ul>
<a name="uncapitalize(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>uncapitalize</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;uncapitalize(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</pre>
<div class="block"><p>Uncapitalizes a String changing the first letter to title case as
 per <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true#toLowerCase(char)" title="class or interface in java.lang"><code>Character.toLowerCase(char)</code></a>. No other letters are changed.</p>

 <p>For a word based algorithm, see <a href="../../../../org/apache/commons/lang3/text/WordUtils.html#uncapitalize(java.lang.String)"><code>WordUtils.uncapitalize(String)</code></a>.
 A <code>null</code> input String returns <code>null</code>.</p>

 <pre>
 StringUtils.uncapitalize(null)  = null
 StringUtils.uncapitalize("")    = ""
 StringUtils.uncapitalize("Cat") = "cat"
 StringUtils.uncapitalize("CAT") = "cAT"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to uncapitalize, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the uncapitalized String, <code>null</code> if null String input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/commons/lang3/text/WordUtils.html#uncapitalize(java.lang.String)"><code>WordUtils.uncapitalize(String)</code></a>, 
<a href="../../../../org/apache/commons/lang3/StringUtils.html#capitalize(java.lang.String)"><code>capitalize(String)</code></a></dd></dl>
</li>
</ul>
<a name="swapCase(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>swapCase</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;swapCase(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</pre>
<div class="block"><p>Swaps the case of a String changing upper and title case to
 lower case, and lower case to upper case.</p>

 <ul>
  <li>Upper case character converts to Lower case</li>
  <li>Title case character converts to Lower case</li>
  <li>Lower case character converts to Upper case</li>
 </ul>

 <p>For a word based algorithm, see <a href="../../../../org/apache/commons/lang3/text/WordUtils.html#swapCase(java.lang.String)"><code>WordUtils.swapCase(String)</code></a>.
 A <code>null</code> input String returns <code>null</code>.</p>

 <pre>
 StringUtils.swapCase(null)                 = null
 StringUtils.swapCase("")                   = ""
 StringUtils.swapCase("The dog has a BONE") = "tHE DOG HAS A bone"
 </pre>

 <p>NOTE: This method changed in Lang version 2.0.
 It no longer performs a word based algorithm.
 If you only use ASCII, you will notice no change.
 That functionality is available in org.apache.commons.lang3.text.WordUtils.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to swap case, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the changed String, <code>null</code> if null String input</dd></dl>
</li>
</ul>
<a name="countMatches(java.lang.CharSequence, java.lang.CharSequence)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>countMatches</h4>
<pre>public static&nbsp;int&nbsp;countMatches(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;str,
               <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;sub)</pre>
<div class="block"><p>Counts how many times the substring appears in the larger string.</p>

 <p>A <code>null</code> or empty ("") String input returns <code>0</code>.</p>

 <pre>
 StringUtils.countMatches(null, *)       = 0
 StringUtils.countMatches("", *)         = 0
 StringUtils.countMatches("abba", null)  = 0
 StringUtils.countMatches("abba", "")    = 0
 StringUtils.countMatches("abba", "a")   = 2
 StringUtils.countMatches("abba", "ab")  = 1
 StringUtils.countMatches("abba", "xxx") = 0
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the CharSequence to check, may be null</dd><dd><code>sub</code> - the substring to count, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the number of occurrences, 0 if either CharSequence is <code>null</code></dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0 Changed signature from countMatches(String, String) to countMatches(CharSequence, CharSequence)</dd></dl>
</li>
</ul>
<a name="isAlpha(java.lang.CharSequence)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAlpha</h4>
<pre>public static&nbsp;boolean&nbsp;isAlpha(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs)</pre>
<div class="block"><p>Checks if the CharSequence contains only Unicode letters.</p>

 <p><code>null</code> will return <code>false</code>.
 An empty CharSequence (length()=0) will return <code>false</code>.</p>

 <pre>
 StringUtils.isAlpha(null)   = false
 StringUtils.isAlpha("")     = false
 StringUtils.isAlpha("  ")   = false
 StringUtils.isAlpha("abc")  = true
 StringUtils.isAlpha("ab2c") = false
 StringUtils.isAlpha("ab-c") = false
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cs</code> - the CharSequence to check, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if only contains letters, and is non-null</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0 Changed signature from isAlpha(String) to isAlpha(CharSequence), 3.0 Changed "" to return false and not true</dd></dl>
</li>
</ul>
<a name="isAlphaSpace(java.lang.CharSequence)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAlphaSpace</h4>
<pre>public static&nbsp;boolean&nbsp;isAlphaSpace(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs)</pre>
<div class="block"><p>Checks if the CharSequence contains only Unicode letters and
 space (' ').</p>

 <p><code>null</code> will return <code>false</code>
 An empty CharSequence (length()=0) will return <code>true</code>.</p>

 <pre>
 StringUtils.isAlphaSpace(null)   = false
 StringUtils.isAlphaSpace("")     = true
 StringUtils.isAlphaSpace("  ")   = true
 StringUtils.isAlphaSpace("abc")  = true
 StringUtils.isAlphaSpace("ab c") = true
 StringUtils.isAlphaSpace("ab2c") = false
 StringUtils.isAlphaSpace("ab-c") = false
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cs</code> - the CharSequence to check, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if only contains letters and space,
  and is non-null</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0 Changed signature from isAlphaSpace(String) to isAlphaSpace(CharSequence)</dd></dl>
</li>
</ul>
<a name="isAlphanumeric(java.lang.CharSequence)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAlphanumeric</h4>
<pre>public static&nbsp;boolean&nbsp;isAlphanumeric(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs)</pre>
<div class="block"><p>Checks if the CharSequence contains only Unicode letters or digits.</p>

 <p><code>null</code> will return <code>false</code>.
 An empty CharSequence (length()=0) will return <code>false</code>.</p>

 <pre>
 StringUtils.isAlphanumeric(null)   = false
 StringUtils.isAlphanumeric("")     = false
 StringUtils.isAlphanumeric("  ")   = false
 StringUtils.isAlphanumeric("abc")  = true
 StringUtils.isAlphanumeric("ab c") = false
 StringUtils.isAlphanumeric("ab2c") = true
 StringUtils.isAlphanumeric("ab-c") = false
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cs</code> - the CharSequence to check, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if only contains letters or digits,
  and is non-null</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0 Changed signature from isAlphanumeric(String) to isAlphanumeric(CharSequence), 3.0 Changed "" to return false and not true</dd></dl>
</li>
</ul>
<a name="isAlphanumericSpace(java.lang.CharSequence)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAlphanumericSpace</h4>
<pre>public static&nbsp;boolean&nbsp;isAlphanumericSpace(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs)</pre>
<div class="block"><p>Checks if the CharSequence contains only Unicode letters, digits
 or space (<code>' '</code>).</p>

 <p><code>null</code> will return <code>false</code>.
 An empty CharSequence (length()=0) will return <code>true</code>.</p>

 <pre>
 StringUtils.isAlphanumericSpace(null)   = false
 StringUtils.isAlphanumericSpace("")     = true
 StringUtils.isAlphanumericSpace("  ")   = true
 StringUtils.isAlphanumericSpace("abc")  = true
 StringUtils.isAlphanumericSpace("ab c") = true
 StringUtils.isAlphanumericSpace("ab2c") = true
 StringUtils.isAlphanumericSpace("ab-c") = false
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cs</code> - the CharSequence to check, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if only contains letters, digits or space,
  and is non-null</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0 Changed signature from isAlphanumericSpace(String) to isAlphanumericSpace(CharSequence)</dd></dl>
</li>
</ul>
<a name="isAsciiPrintable(java.lang.CharSequence)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAsciiPrintable</h4>
<pre>public static&nbsp;boolean&nbsp;isAsciiPrintable(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs)</pre>
<div class="block"><p>Checks if the CharSequence contains only ASCII printable characters.</p>

 <p><code>null</code> will return <code>false</code>.
 An empty CharSequence (length()=0) will return <code>true</code>.</p>

 <pre>
 StringUtils.isAsciiPrintable(null)     = false
 StringUtils.isAsciiPrintable("")       = true
 StringUtils.isAsciiPrintable(" ")      = true
 StringUtils.isAsciiPrintable("Ceki")   = true
 StringUtils.isAsciiPrintable("ab2c")   = true
 StringUtils.isAsciiPrintable("!ab-c~") = true
 StringUtils.isAsciiPrintable(" ") = true
 StringUtils.isAsciiPrintable("!") = true
 StringUtils.isAsciiPrintable("~") = true
 StringUtils.isAsciiPrintable("") = false
 StringUtils.isAsciiPrintable("Ceki Gülcü") = false
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cs</code> - the CharSequence to check, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if every character is in the range
  32 thru 126</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1, 3.0 Changed signature from isAsciiPrintable(String) to isAsciiPrintable(CharSequence)</dd></dl>
</li>
</ul>
<a name="isNumeric(java.lang.CharSequence)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNumeric</h4>
<pre>public static&nbsp;boolean&nbsp;isNumeric(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs)</pre>
<div class="block"><p>Checks if the CharSequence contains only Unicode digits.
 A decimal point is not a Unicode digit and returns false.</p>

 <p><code>null</code> will return <code>false</code>.
 An empty CharSequence (length()=0) will return <code>false</code>.</p>

 <p>Note that the method does not allow for a leading sign, either positive or negative.
 Also, if a String passes the numeric test, it may still generate a NumberFormatException
 when parsed by Integer.parseInt or Long.parseLong, e.g. if the value is outside the range
 for int or long respectively.</p>

 <pre>
 StringUtils.isNumeric(null)   = false
 StringUtils.isNumeric("")     = false
 StringUtils.isNumeric("  ")   = false
 StringUtils.isNumeric("123")  = true
 StringUtils.isNumeric("12 3") = false
 StringUtils.isNumeric("ab2c") = false
 StringUtils.isNumeric("12-3") = false
 StringUtils.isNumeric("12.3") = false
 StringUtils.isNumeric("-123") = false
 StringUtils.isNumeric("+123") = false
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cs</code> - the CharSequence to check, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if only contains digits, and is non-null</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0 Changed signature from isNumeric(String) to isNumeric(CharSequence), 3.0 Changed "" to return false and not true</dd></dl>
</li>
</ul>
<a name="isNumericSpace(java.lang.CharSequence)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNumericSpace</h4>
<pre>public static&nbsp;boolean&nbsp;isNumericSpace(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs)</pre>
<div class="block"><p>Checks if the CharSequence contains only Unicode digits or space
 (<code>' '</code>).
 A decimal point is not a Unicode digit and returns false.</p>

 <p><code>null</code> will return <code>false</code>.
 An empty CharSequence (length()=0) will return <code>true</code>.</p>

 <pre>
 StringUtils.isNumericSpace(null)   = false
 StringUtils.isNumericSpace("")     = true
 StringUtils.isNumericSpace("  ")   = true
 StringUtils.isNumericSpace("123")  = true
 StringUtils.isNumericSpace("12 3") = true
 StringUtils.isNumericSpace("ab2c") = false
 StringUtils.isNumericSpace("12-3") = false
 StringUtils.isNumericSpace("12.3") = false
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cs</code> - the CharSequence to check, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if only contains digits or space,
  and is non-null</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0 Changed signature from isNumericSpace(String) to isNumericSpace(CharSequence)</dd></dl>
</li>
</ul>
<a name="isWhitespace(java.lang.CharSequence)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isWhitespace</h4>
<pre>public static&nbsp;boolean&nbsp;isWhitespace(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs)</pre>
<div class="block"><p>Checks if the CharSequence contains only whitespace.</p>

 <p><code>null</code> will return <code>false</code>.
 An empty CharSequence (length()=0) will return <code>true</code>.</p>

 <pre>
 StringUtils.isWhitespace(null)   = false
 StringUtils.isWhitespace("")     = true
 StringUtils.isWhitespace("  ")   = true
 StringUtils.isWhitespace("abc")  = false
 StringUtils.isWhitespace("ab2c") = false
 StringUtils.isWhitespace("ab-c") = false
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cs</code> - the CharSequence to check, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if only contains whitespace, and is non-null</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0, 3.0 Changed signature from isWhitespace(String) to isWhitespace(CharSequence)</dd></dl>
</li>
</ul>
<a name="isAllLowerCase(java.lang.CharSequence)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAllLowerCase</h4>
<pre>public static&nbsp;boolean&nbsp;isAllLowerCase(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs)</pre>
<div class="block"><p>Checks if the CharSequence contains only lowercase characters.</p>

 <p><code>null</code> will return <code>false</code>.
 An empty CharSequence (length()=0) will return <code>false</code>.</p>

 <pre>
 StringUtils.isAllLowerCase(null)   = false
 StringUtils.isAllLowerCase("")     = false
 StringUtils.isAllLowerCase("  ")   = false
 StringUtils.isAllLowerCase("abc")  = true
 StringUtils.isAllLowerCase("abC") = false
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cs</code> - the CharSequence to check, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if only contains lowercase characters, and is non-null</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5, 3.0 Changed signature from isAllLowerCase(String) to isAllLowerCase(CharSequence)</dd></dl>
</li>
</ul>
<a name="isAllUpperCase(java.lang.CharSequence)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAllUpperCase</h4>
<pre>public static&nbsp;boolean&nbsp;isAllUpperCase(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs)</pre>
<div class="block"><p>Checks if the CharSequence contains only uppercase characters.</p>

 <p><code>null</code> will return <code>false</code>.
 An empty String (length()=0) will return <code>false</code>.</p>

 <pre>
 StringUtils.isAllUpperCase(null)   = false
 StringUtils.isAllUpperCase("")     = false
 StringUtils.isAllUpperCase("  ")   = false
 StringUtils.isAllUpperCase("ABC")  = true
 StringUtils.isAllUpperCase("aBC") = false
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cs</code> - the CharSequence to check, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if only contains uppercase characters, and is non-null</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5, 3.0 Changed signature from isAllUpperCase(String) to isAllUpperCase(CharSequence)</dd></dl>
</li>
</ul>
<a name="defaultString(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>defaultString</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;defaultString(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</pre>
<div class="block"><p>Returns either the passed in String,
 or if the String is <code>null</code>, an empty String ("").</p>

 <pre>
 StringUtils.defaultString(null)  = ""
 StringUtils.defaultString("")    = ""
 StringUtils.defaultString("bat") = "bat"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to check, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the passed in String, or the empty String if it
  was <code>null</code></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/commons/lang3/ObjectUtils.html#toString(java.lang.Object)"><code>ObjectUtils.toString(Object)</code></a>, 
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#valueOf(java.lang.Object)" title="class or interface in java.lang"><code>String.valueOf(Object)</code></a></dd></dl>
</li>
</ul>
<a name="defaultString(java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>defaultString</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;defaultString(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                   <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;defaultStr)</pre>
<div class="block"><p>Returns either the passed in String, or if the String is
 <code>null</code>, the value of <code>defaultStr</code>.</p>

 <pre>
 StringUtils.defaultString(null, "NULL")  = "NULL"
 StringUtils.defaultString("", "NULL")    = ""
 StringUtils.defaultString("bat", "NULL") = "bat"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to check, may be null</dd><dd><code>defaultStr</code> - the default String to return
  if the input is <code>null</code>, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the passed in String, or the default if it was <code>null</code></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/commons/lang3/ObjectUtils.html#toString(java.lang.Object, java.lang.String)"><code>ObjectUtils.toString(Object,String)</code></a>, 
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#valueOf(java.lang.Object)" title="class or interface in java.lang"><code>String.valueOf(Object)</code></a></dd></dl>
</li>
</ul>
<a name="defaultIfBlank(java.lang.CharSequence,java.lang.CharSequence)">
<!--   -->
</a><a name="defaultIfBlank(T, T)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>defaultIfBlank</h4>
<pre>public static&nbsp;&lt;T extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&gt;&nbsp;T&nbsp;defaultIfBlank(T&nbsp;str,
                                        T&nbsp;defaultStr)</pre>
<div class="block"><p>Returns either the passed in CharSequence, or if the CharSequence is
 whitespace, empty ("") or <code>null</code>, the value of <code>defaultStr</code>.</p>

 <pre>
 StringUtils.defaultIfBlank(null, "NULL")  = "NULL"
 StringUtils.defaultIfBlank("", "NULL")    = "NULL"
 StringUtils.defaultIfBlank(" ", "NULL")   = "NULL"
 StringUtils.defaultIfBlank("bat", "NULL") = "bat"
 StringUtils.defaultIfBlank("", null)      = null
 </pre></div>
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - the specific kind of CharSequence</dd><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the CharSequence to check, may be null</dd><dd><code>defaultStr</code> - the default CharSequence to return
  if the input is whitespace, empty ("") or <code>null</code>, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the passed in CharSequence, or the default</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/commons/lang3/StringUtils.html#defaultString(java.lang.String, java.lang.String)"><code>defaultString(String, String)</code></a></dd></dl>
</li>
</ul>
<a name="defaultIfEmpty(java.lang.CharSequence,java.lang.CharSequence)">
<!--   -->
</a><a name="defaultIfEmpty(T, T)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>defaultIfEmpty</h4>
<pre>public static&nbsp;&lt;T extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&gt;&nbsp;T&nbsp;defaultIfEmpty(T&nbsp;str,
                                        T&nbsp;defaultStr)</pre>
<div class="block"><p>Returns either the passed in CharSequence, or if the CharSequence is
 empty or <code>null</code>, the value of <code>defaultStr</code>.</p>

 <pre>
 StringUtils.defaultIfEmpty(null, "NULL")  = "NULL"
 StringUtils.defaultIfEmpty("", "NULL")    = "NULL"
 StringUtils.defaultIfEmpty(" ", "NULL")   = " "
 StringUtils.defaultIfEmpty("bat", "NULL") = "bat"
 StringUtils.defaultIfEmpty("", null)      = null
 </pre></div>
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - the specific kind of CharSequence</dd><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the CharSequence to check, may be null</dd><dd><code>defaultStr</code> - the default CharSequence to return
  if the input is empty ("") or <code>null</code>, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the passed in CharSequence, or the default</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/commons/lang3/StringUtils.html#defaultString(java.lang.String, java.lang.String)"><code>defaultString(String, String)</code></a></dd></dl>
</li>
</ul>
<a name="reverse(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reverse</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;reverse(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</pre>
<div class="block"><p>Reverses a String as per <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/StringBuilder.html?is-external=true#reverse()" title="class or interface in java.lang"><code>StringBuilder.reverse()</code></a>.</p>

 <p>A <code>null</code> String returns <code>null</code>.</p>

 <pre>
 StringUtils.reverse(null)  = null
 StringUtils.reverse("")    = ""
 StringUtils.reverse("bat") = "tab"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to reverse, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the reversed String, <code>null</code> if null String input</dd></dl>
</li>
</ul>
<a name="reverseDelimited(java.lang.String, char)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reverseDelimited</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;reverseDelimited(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                      char&nbsp;separatorChar)</pre>
<div class="block"><p>Reverses a String that is delimited by a specific character.</p>

 <p>The Strings between the delimiters are not reversed.
 Thus java.lang.String becomes String.lang.java (if the delimiter
 is <code>'.'</code>).</p>

 <pre>
 StringUtils.reverseDelimited(null, *)      = null
 StringUtils.reverseDelimited("", *)        = ""
 StringUtils.reverseDelimited("a.b.c", 'x') = "a.b.c"
 StringUtils.reverseDelimited("a.b.c", ".") = "c.b.a"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to reverse, may be null</dd><dd><code>separatorChar</code> - the separator character to use</dd>
<dt><span class="strong">Returns:</span></dt><dd>the reversed String, <code>null</code> if null String input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0</dd></dl>
</li>
</ul>
<a name="abbreviate(java.lang.String, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>abbreviate</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;abbreviate(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                int&nbsp;maxWidth)</pre>
<div class="block"><p>Abbreviates a String using ellipses. This will turn
 "Now is the time for all good men" into "Now is the time for..."</p>

 <p>Specifically:</p>
 <ul>
   <li>If <code>str</code> is less than <code>maxWidth</code> characters
       long, return it.</li>
   <li>Else abbreviate it to <code>(substring(str, 0, max-3) + "...")</code>.</li>
   <li>If <code>maxWidth</code> is less than <code>4</code>, throw an
       <code>IllegalArgumentException</code>.</li>
   <li>In no case will it return a String of length greater than
       <code>maxWidth</code>.</li>
 </ul>

 <pre>
 StringUtils.abbreviate(null, *)      = null
 StringUtils.abbreviate("", 4)        = ""
 StringUtils.abbreviate("abcdefg", 6) = "abc..."
 StringUtils.abbreviate("abcdefg", 7) = "abcdefg"
 StringUtils.abbreviate("abcdefg", 8) = "abcdefg"
 StringUtils.abbreviate("abcdefg", 4) = "a..."
 StringUtils.abbreviate("abcdefg", 3) = IllegalArgumentException
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to check, may be null</dd><dd><code>maxWidth</code> - maximum length of result String, must be at least 4</dd>
<dt><span class="strong">Returns:</span></dt><dd>abbreviated String, <code>null</code> if null String input</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the width is too small</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0</dd></dl>
</li>
</ul>
<a name="abbreviate(java.lang.String, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>abbreviate</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;abbreviate(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                int&nbsp;offset,
                int&nbsp;maxWidth)</pre>
<div class="block"><p>Abbreviates a String using ellipses. This will turn
 "Now is the time for all good men" into "...is the time for..."</p>

 <p>Works like <code>abbreviate(String, int)</code>, but allows you to specify
 a "left edge" offset.  Note that this left edge is not necessarily going to
 be the leftmost character in the result, or the first character following the
 ellipses, but it will appear somewhere in the result.

 <p>In no case will it return a String of length greater than
 <code>maxWidth</code>.</p>

 <pre>
 StringUtils.abbreviate(null, *, *)                = null
 StringUtils.abbreviate("", 0, 4)                  = ""
 StringUtils.abbreviate("abcdefghijklmno", -1, 10) = "abcdefg..."
 StringUtils.abbreviate("abcdefghijklmno", 0, 10)  = "abcdefg..."
 StringUtils.abbreviate("abcdefghijklmno", 1, 10)  = "abcdefg..."
 StringUtils.abbreviate("abcdefghijklmno", 4, 10)  = "abcdefg..."
 StringUtils.abbreviate("abcdefghijklmno", 5, 10)  = "...fghi..."
 StringUtils.abbreviate("abcdefghijklmno", 6, 10)  = "...ghij..."
 StringUtils.abbreviate("abcdefghijklmno", 8, 10)  = "...ijklmno"
 StringUtils.abbreviate("abcdefghijklmno", 10, 10) = "...ijklmno"
 StringUtils.abbreviate("abcdefghijklmno", 12, 10) = "...ijklmno"
 StringUtils.abbreviate("abcdefghij", 0, 3)        = IllegalArgumentException
 StringUtils.abbreviate("abcdefghij", 5, 6)        = IllegalArgumentException
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to check, may be null</dd><dd><code>offset</code> - left edge of source String</dd><dd><code>maxWidth</code> - maximum length of result String, must be at least 4</dd>
<dt><span class="strong">Returns:</span></dt><dd>abbreviated String, <code>null</code> if null String input</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the width is too small</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0</dd></dl>
</li>
</ul>
<a name="abbreviateMiddle(java.lang.String, java.lang.String, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>abbreviateMiddle</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;abbreviateMiddle(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                      <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;middle,
                      int&nbsp;length)</pre>
<div class="block"><p>Abbreviates a String to the length passed, replacing the middle characters with the supplied
 replacement String.</p>

 <p>This abbreviation only occurs if the following criteria is met:</p>
 <ul>
 <li>Neither the String for abbreviation nor the replacement String are null or empty </li>
 <li>The length to truncate to is less than the length of the supplied String</li>
 <li>The length to truncate to is greater than 0</li>
 <li>The abbreviated String will have enough room for the length supplied replacement String
 and the first and last characters of the supplied String for abbreviation</li>
 </ul>
 <p>Otherwise, the returned String will be the same as the supplied String for abbreviation.
 </p>

 <pre>
 StringUtils.abbreviateMiddle(null, null, 0)      = null
 StringUtils.abbreviateMiddle("abc", null, 0)      = "abc"
 StringUtils.abbreviateMiddle("abc", ".", 0)      = "abc"
 StringUtils.abbreviateMiddle("abc", ".", 3)      = "abc"
 StringUtils.abbreviateMiddle("abcdef", ".", 4)     = "ab.f"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the String to abbreviate, may be null</dd><dd><code>middle</code> - the String to replace the middle characters with, may be null</dd><dd><code>length</code> - the length to abbreviate <code>str</code> to.</dd>
<dt><span class="strong">Returns:</span></dt><dd>the abbreviated String if the above criteria is met, or the original String supplied for abbreviation.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5</dd></dl>
</li>
</ul>
<a name="difference(java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>difference</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;difference(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str1,
                <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str2)</pre>
<div class="block"><p>Compares two Strings, and returns the portion where they differ.
 More precisely, return the remainder of the second String,
 starting from where it's different from the first. This means that
 the difference between "abc" and "ab" is the empty String and not "c". </p>

 <p>For example,
 <code>difference("i am a machine", "i am a robot") -&gt; "robot"</code>.</p>

 <pre>
 StringUtils.difference(null, null) = null
 StringUtils.difference("", "") = ""
 StringUtils.difference("", "abc") = "abc"
 StringUtils.difference("abc", "") = ""
 StringUtils.difference("abc", "abc") = ""
 StringUtils.difference("abc", "ab") = ""
 StringUtils.difference("ab", "abxyz") = "xyz"
 StringUtils.difference("abcde", "abxyz") = "xyz"
 StringUtils.difference("abcde", "xyz") = "xyz"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str1</code> - the first String, may be null</dd><dd><code>str2</code> - the second String, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the portion of str2 where it differs from str1; returns the
 empty String if they are equal</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/commons/lang3/StringUtils.html#indexOfDifference(java.lang.CharSequence, java.lang.CharSequence)"><code>indexOfDifference(CharSequence,CharSequence)</code></a></dd></dl>
</li>
</ul>
<a name="indexOfDifference(java.lang.CharSequence, java.lang.CharSequence)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOfDifference</h4>
<pre>public static&nbsp;int&nbsp;indexOfDifference(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs1,
                    <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;cs2)</pre>
<div class="block"><p>Compares two CharSequences, and returns the index at which the
 CharSequences begin to differ.</p>

 <p>For example,
 <code>indexOfDifference("i am a machine", "i am a robot") -&gt; 7</code></p>

 <pre>
 StringUtils.indexOfDifference(null, null) = -1
 StringUtils.indexOfDifference("", "") = -1
 StringUtils.indexOfDifference("", "abc") = 0
 StringUtils.indexOfDifference("abc", "") = 0
 StringUtils.indexOfDifference("abc", "abc") = -1
 StringUtils.indexOfDifference("ab", "abxyz") = 2
 StringUtils.indexOfDifference("abcde", "abxyz") = 2
 StringUtils.indexOfDifference("abcde", "xyz") = 0
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cs1</code> - the first CharSequence, may be null</dd><dd><code>cs2</code> - the second CharSequence, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the index where cs1 and cs2 begin to differ; -1 if they are equal</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.0, 3.0 Changed signature from indexOfDifference(String, String) to
 indexOfDifference(CharSequence, CharSequence)</dd></dl>
</li>
</ul>
<a name="indexOfDifference(java.lang.CharSequence...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOfDifference</h4>
<pre>public static&nbsp;int&nbsp;indexOfDifference(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>...&nbsp;css)</pre>
<div class="block"><p>Compares all CharSequences in an array and returns the index at which the
 CharSequences begin to differ.</p>

 <p>For example,
 <code>indexOfDifference(new String[] {"i am a machine", "i am a robot"}) -&gt; 7</code></p>

 <pre>
 StringUtils.indexOfDifference(null) = -1
 StringUtils.indexOfDifference(new String[] {}) = -1
 StringUtils.indexOfDifference(new String[] {"abc"}) = -1
 StringUtils.indexOfDifference(new String[] {null, null}) = -1
 StringUtils.indexOfDifference(new String[] {"", ""}) = -1
 StringUtils.indexOfDifference(new String[] {"", null}) = 0
 StringUtils.indexOfDifference(new String[] {"abc", null, null}) = 0
 StringUtils.indexOfDifference(new String[] {null, null, "abc"}) = 0
 StringUtils.indexOfDifference(new String[] {"", "abc"}) = 0
 StringUtils.indexOfDifference(new String[] {"abc", ""}) = 0
 StringUtils.indexOfDifference(new String[] {"abc", "abc"}) = -1
 StringUtils.indexOfDifference(new String[] {"abc", "a"}) = 1
 StringUtils.indexOfDifference(new String[] {"ab", "abxyz"}) = 2
 StringUtils.indexOfDifference(new String[] {"abcde", "abxyz"}) = 2
 StringUtils.indexOfDifference(new String[] {"abcde", "xyz"}) = 0
 StringUtils.indexOfDifference(new String[] {"xyz", "abcde"}) = 0
 StringUtils.indexOfDifference(new String[] {"i am a machine", "i am a robot"}) = 7
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>css</code> - array of CharSequences, entries may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the index where the strings begin to differ; -1 if they are all equal</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.4, 3.0 Changed signature from indexOfDifference(String...) to indexOfDifference(CharSequence...)</dd></dl>
</li>
</ul>
<a name="getCommonPrefix(java.lang.String...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCommonPrefix</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getCommonPrefix(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;strs)</pre>
<div class="block"><p>Compares all Strings in an array and returns the initial sequence of
 characters that is common to all of them.</p>

 <p>For example,
 <code>getCommonPrefix(new String[] {"i am a machine", "i am a robot"}) -&gt; "i am a "</code></p>

 <pre>
 StringUtils.getCommonPrefix(null) = ""
 StringUtils.getCommonPrefix(new String[] {}) = ""
 StringUtils.getCommonPrefix(new String[] {"abc"}) = "abc"
 StringUtils.getCommonPrefix(new String[] {null, null}) = ""
 StringUtils.getCommonPrefix(new String[] {"", ""}) = ""
 StringUtils.getCommonPrefix(new String[] {"", null}) = ""
 StringUtils.getCommonPrefix(new String[] {"abc", null, null}) = ""
 StringUtils.getCommonPrefix(new String[] {null, null, "abc"}) = ""
 StringUtils.getCommonPrefix(new String[] {"", "abc"}) = ""
 StringUtils.getCommonPrefix(new String[] {"abc", ""}) = ""
 StringUtils.getCommonPrefix(new String[] {"abc", "abc"}) = "abc"
 StringUtils.getCommonPrefix(new String[] {"abc", "a"}) = "a"
 StringUtils.getCommonPrefix(new String[] {"ab", "abxyz"}) = "ab"
 StringUtils.getCommonPrefix(new String[] {"abcde", "abxyz"}) = "ab"
 StringUtils.getCommonPrefix(new String[] {"abcde", "xyz"}) = ""
 StringUtils.getCommonPrefix(new String[] {"xyz", "abcde"}) = ""
 StringUtils.getCommonPrefix(new String[] {"i am a machine", "i am a robot"}) = "i am a "
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>strs</code> - array of String objects, entries may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the initial sequence of characters that are common to all Strings
 in the array; empty String if the array is null, the elements are all null
 or if there is no common prefix.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.4</dd></dl>
</li>
</ul>
<a name="getLevenshteinDistance(java.lang.CharSequence, java.lang.CharSequence)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLevenshteinDistance</h4>
<pre>public static&nbsp;int&nbsp;getLevenshteinDistance(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;s,
                         <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;t)</pre>
<div class="block"><p>Find the Levenshtein distance between two Strings.</p>

 <p>This is the number of changes needed to change one String into
 another, where each change is a single character modification (deletion,
 insertion or substitution).</p>

 <p>The previous implementation of the Levenshtein distance algorithm
 was from <a href="http://www.merriampark.com/ld.htm">http://www.merriampark.com/ld.htm</a></p>

 <p>Chas Emerick has written an implementation in Java, which avoids an OutOfMemoryError
 which can occur when my Java implementation is used with very large strings.<br>
 This implementation of the Levenshtein distance algorithm
 is from <a href="http://www.merriampark.com/ldjava.htm">http://www.merriampark.com/ldjava.htm</a></p>

 <pre>
 StringUtils.getLevenshteinDistance(null, *)             = IllegalArgumentException
 StringUtils.getLevenshteinDistance(*, null)             = IllegalArgumentException
 StringUtils.getLevenshteinDistance("","")               = 0
 StringUtils.getLevenshteinDistance("","a")              = 1
 StringUtils.getLevenshteinDistance("aaapppp", "")       = 7
 StringUtils.getLevenshteinDistance("frog", "fog")       = 1
 StringUtils.getLevenshteinDistance("fly", "ant")        = 3
 StringUtils.getLevenshteinDistance("elephant", "hippo") = 7
 StringUtils.getLevenshteinDistance("hippo", "elephant") = 7
 StringUtils.getLevenshteinDistance("hippo", "zzzzzzzz") = 8
 StringUtils.getLevenshteinDistance("hello", "hallo")    = 1
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>s</code> - the first String, must not be null</dd><dd><code>t</code> - the second String, must not be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>result distance</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if either String input <code>null</code></dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0 Changed signature from getLevenshteinDistance(String, String) to
 getLevenshteinDistance(CharSequence, CharSequence)</dd></dl>
</li>
</ul>
<a name="getLevenshteinDistance(java.lang.CharSequence, java.lang.CharSequence, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLevenshteinDistance</h4>
<pre>public static&nbsp;int&nbsp;getLevenshteinDistance(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;s,
                         <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;t,
                         int&nbsp;threshold)</pre>
<div class="block"><p>Find the Levenshtein distance between two Strings if it's less than or equal to a given
 threshold.</p>

 <p>This is the number of changes needed to change one String into
 another, where each change is a single character modification (deletion,
 insertion or substitution).</p>

 <p>This implementation follows from Algorithms on Strings, Trees and Sequences by Dan Gusfield
 and Chas Emerick's implementation of the Levenshtein distance algorithm from
 <a href="http://www.merriampark.com/ld.htm">http://www.merriampark.com/ld.htm</a></p>

 <pre>
 StringUtils.getLevenshteinDistance(null, *, *)             = IllegalArgumentException
 StringUtils.getLevenshteinDistance(*, null, *)             = IllegalArgumentException
 StringUtils.getLevenshteinDistance(*, *, -1)               = IllegalArgumentException
 StringUtils.getLevenshteinDistance("","", 0)               = 0
 StringUtils.getLevenshteinDistance("aaapppp", "", 8)       = 7
 StringUtils.getLevenshteinDistance("aaapppp", "", 7)       = 7
 StringUtils.getLevenshteinDistance("aaapppp", "", 6))      = -1
 StringUtils.getLevenshteinDistance("elephant", "hippo", 7) = 7
 StringUtils.getLevenshteinDistance("elephant", "hippo", 6) = -1
 StringUtils.getLevenshteinDistance("hippo", "elephant", 7) = 7
 StringUtils.getLevenshteinDistance("hippo", "elephant", 6) = -1
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>s</code> - the first String, must not be null</dd><dd><code>t</code> - the second String, must not be null</dd><dd><code>threshold</code> - the target threshold, must not be negative</dd>
<dt><span class="strong">Returns:</span></dt><dd>result distance, or <code>-1</code> if the distance would be greater than the threshold</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if either String input <code>null</code> or negative threshold</dd></dl>
</li>
</ul>
<a name="getJaroWinklerDistance(java.lang.CharSequence, java.lang.CharSequence)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getJaroWinklerDistance</h4>
<pre>public static&nbsp;double&nbsp;getJaroWinklerDistance(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;first,
                            <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;second)</pre>
<div class="block"><p>Find the Jaro Winkler Distance which indicates the similarity score between two Strings.</p>

 <p>The Jaro measure is the weighted sum of percentage of matched characters from each file and transposed characters. 
 Winkler increased this measure for matching initial characters.</p>

 <p>This implementation is based on the Jaro Winkler similarity algorithm
 from <a href="http://en.wikipedia.org/wiki/Jaro%E2%80%93Winkler_distance">http://en.wikipedia.org/wiki/Jaro%E2%80%93Winkler_distance</a>.</p>
 
 <pre>
 StringUtils.getJaroWinklerDistance(null, null)          = IllegalArgumentException
 StringUtils.getJaroWinklerDistance("","")               = 0.0
 StringUtils.getJaroWinklerDistance("","a")              = 0.0
 StringUtils.getJaroWinklerDistance("aaapppp", "")       = 0.0
 StringUtils.getJaroWinklerDistance("frog", "fog")       = 0.93
 StringUtils.getJaroWinklerDistance("fly", "ant")        = 0.0
 StringUtils.getJaroWinklerDistance("elephant", "hippo") = 0.44
 StringUtils.getJaroWinklerDistance("hippo", "elephant") = 0.44
 StringUtils.getJaroWinklerDistance("hippo", "zzzzzzzz") = 0.0
 StringUtils.getJaroWinklerDistance("hello", "hallo")    = 0.88
 StringUtils.getJaroWinklerDistance("ABC Corporation", "ABC Corp") = 0.91
 StringUtils.getJaroWinklerDistance("D N H Enterprises Inc", "D &amp; H Enterprises, Inc.") = 0.93
 StringUtils.getJaroWinklerDistance("My Gym Children's Fitness Center", "My Gym. Childrens Fitness") = 0.94
 StringUtils.getJaroWinklerDistance("PENNSYLVANIA", "PENNCISYLVNIA")    = 0.9
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>first</code> - the first String, must not be null</dd><dd><code>second</code> - the second String, must not be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>result distance</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if either String input <code>null</code></dd><dt><span class="strong">Since:</span></dt>
  <dd>3.3</dd></dl>
</li>
</ul>
<a name="startsWith(java.lang.CharSequence, java.lang.CharSequence)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>startsWith</h4>
<pre>public static&nbsp;boolean&nbsp;startsWith(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;str,
                 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;prefix)</pre>
<div class="block"><p>Check if a CharSequence starts with a specified prefix.</p>

 <p><code>null</code>s are handled without exceptions. Two <code>null</code>
 references are considered to be equal. The comparison is case sensitive.</p>

 <pre>
 StringUtils.startsWith(null, null)      = true
 StringUtils.startsWith(null, "abc")     = false
 StringUtils.startsWith("abcdef", null)  = false
 StringUtils.startsWith("abcdef", "abc") = true
 StringUtils.startsWith("ABCDEF", "abc") = false
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the CharSequence to check, may be null</dd><dd><code>prefix</code> - the prefix to find, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the CharSequence starts with the prefix, case sensitive, or
  both <code>null</code></dd><dt><span class="strong">Since:</span></dt>
  <dd>2.4, 3.0 Changed signature from startsWith(String, String) to startsWith(CharSequence, CharSequence)</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#startsWith(java.lang.String)" title="class or interface in java.lang"><code>String.startsWith(String)</code></a></dd></dl>
</li>
</ul>
<a name="startsWithIgnoreCase(java.lang.CharSequence, java.lang.CharSequence)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>startsWithIgnoreCase</h4>
<pre>public static&nbsp;boolean&nbsp;startsWithIgnoreCase(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;str,
                           <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;prefix)</pre>
<div class="block"><p>Case insensitive check if a CharSequence starts with a specified prefix.</p>

 <p><code>null</code>s are handled without exceptions. Two <code>null</code>
 references are considered to be equal. The comparison is case insensitive.</p>

 <pre>
 StringUtils.startsWithIgnoreCase(null, null)      = true
 StringUtils.startsWithIgnoreCase(null, "abc")     = false
 StringUtils.startsWithIgnoreCase("abcdef", null)  = false
 StringUtils.startsWithIgnoreCase("abcdef", "abc") = true
 StringUtils.startsWithIgnoreCase("ABCDEF", "abc") = true
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the CharSequence to check, may be null</dd><dd><code>prefix</code> - the prefix to find, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the CharSequence starts with the prefix, case insensitive, or
  both <code>null</code></dd><dt><span class="strong">Since:</span></dt>
  <dd>2.4, 3.0 Changed signature from startsWithIgnoreCase(String, String) to startsWithIgnoreCase(CharSequence, CharSequence)</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#startsWith(java.lang.String)" title="class or interface in java.lang"><code>String.startsWith(String)</code></a></dd></dl>
</li>
</ul>
<a name="startsWithAny(java.lang.CharSequence, java.lang.CharSequence...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>startsWithAny</h4>
<pre>public static&nbsp;boolean&nbsp;startsWithAny(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;string,
                    <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>...&nbsp;searchStrings)</pre>
<div class="block"><p>Check if a CharSequence starts with any of an array of specified strings.</p>

 <pre>
 StringUtils.startsWithAny(null, null)      = false
 StringUtils.startsWithAny(null, new String[] {"abc"})  = false
 StringUtils.startsWithAny("abcxyz", null)     = false
 StringUtils.startsWithAny("abcxyz", new String[] {""}) = false
 StringUtils.startsWithAny("abcxyz", new String[] {"abc"}) = true
 StringUtils.startsWithAny("abcxyz", new String[] {null, "xyz", "abc"}) = true
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>string</code> - the CharSequence to check, may be null</dd><dd><code>searchStrings</code> - the CharSequences to find, may be null or empty</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the CharSequence starts with any of the the prefixes, case insensitive, or
  both <code>null</code></dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5, 3.0 Changed signature from startsWithAny(String, String[]) to startsWithAny(CharSequence, CharSequence...)</dd></dl>
</li>
</ul>
<a name="endsWith(java.lang.CharSequence, java.lang.CharSequence)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>endsWith</h4>
<pre>public static&nbsp;boolean&nbsp;endsWith(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;str,
               <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;suffix)</pre>
<div class="block"><p>Check if a CharSequence ends with a specified suffix.</p>

 <p><code>null</code>s are handled without exceptions. Two <code>null</code>
 references are considered to be equal. The comparison is case sensitive.</p>

 <pre>
 StringUtils.endsWith(null, null)      = true
 StringUtils.endsWith(null, "def")     = false
 StringUtils.endsWith("abcdef", null)  = false
 StringUtils.endsWith("abcdef", "def") = true
 StringUtils.endsWith("ABCDEF", "def") = false
 StringUtils.endsWith("ABCDEF", "cde") = false
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the CharSequence to check, may be null</dd><dd><code>suffix</code> - the suffix to find, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the CharSequence ends with the suffix, case sensitive, or
  both <code>null</code></dd><dt><span class="strong">Since:</span></dt>
  <dd>2.4, 3.0 Changed signature from endsWith(String, String) to endsWith(CharSequence, CharSequence)</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#endsWith(java.lang.String)" title="class or interface in java.lang"><code>String.endsWith(String)</code></a></dd></dl>
</li>
</ul>
<a name="endsWithIgnoreCase(java.lang.CharSequence, java.lang.CharSequence)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>endsWithIgnoreCase</h4>
<pre>public static&nbsp;boolean&nbsp;endsWithIgnoreCase(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;str,
                         <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;suffix)</pre>
<div class="block"><p>Case insensitive check if a CharSequence ends with a specified suffix.</p>

 <p><code>null</code>s are handled without exceptions. Two <code>null</code>
 references are considered to be equal. The comparison is case insensitive.</p>

 <pre>
 StringUtils.endsWithIgnoreCase(null, null)      = true
 StringUtils.endsWithIgnoreCase(null, "def")     = false
 StringUtils.endsWithIgnoreCase("abcdef", null)  = false
 StringUtils.endsWithIgnoreCase("abcdef", "def") = true
 StringUtils.endsWithIgnoreCase("ABCDEF", "def") = true
 StringUtils.endsWithIgnoreCase("ABCDEF", "cde") = false
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the CharSequence to check, may be null</dd><dd><code>suffix</code> - the suffix to find, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the CharSequence ends with the suffix, case insensitive, or
  both <code>null</code></dd><dt><span class="strong">Since:</span></dt>
  <dd>2.4, 3.0 Changed signature from endsWithIgnoreCase(String, String) to endsWithIgnoreCase(CharSequence, CharSequence)</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true#endsWith(java.lang.String)" title="class or interface in java.lang"><code>String.endsWith(String)</code></a></dd></dl>
</li>
</ul>
<a name="normalizeSpace(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>normalizeSpace</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;normalizeSpace(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</pre>
<div class="block"><p>
 Similar to <a
 href="http://www.w3.org/TR/xpath/#function-normalize-space">http://www.w3.org/TR/xpath/#function-normalize
 -space</a>
 </p>
 <p>
 The function returns the argument string with whitespace normalized by using
 <code><a href="../../../../org/apache/commons/lang3/StringUtils.html#trim(java.lang.String)"><code>trim(String)</code></a></code> to remove leading and trailing whitespace
 and then replacing sequences of whitespace characters by a single space.
 </p>
 In XML Whitespace characters are the same as those allowed by the <a
 href="http://www.w3.org/TR/REC-xml/#NT-S">S</a> production, which is S ::= (#x20 | #x9 | #xD | #xA)+
 <p>
 Java's regexp pattern \s defines whitespace as [ \t\n\x0B\f\r]

 <p>For reference:</p>
 <ul>
 <li>\x0B = vertical tab</li>
 <li>\f = #xC = form feed</li>
 <li>#x20 = space</li>
 <li>#x9 = \t</li>
 <li>#xA = \n</li>
 <li>#xD = \r</li>
 </ul>

 <p>
 The difference is that Java's whitespace includes vertical tab and form feed, which this functional will also
 normalize. Additionally <code><a href="../../../../org/apache/commons/lang3/StringUtils.html#trim(java.lang.String)"><code>trim(String)</code></a></code> removes control characters (char &lt;= 32) from both
 ends of this String.
 </p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the source String to normalize whitespaces from, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the modified string with whitespace normalized, <code>null</code> if null String input</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html?is-external=true" title="class or interface in java.util.regex"><code>Pattern</code></a>, 
<a href="../../../../org/apache/commons/lang3/StringUtils.html#trim(java.lang.String)"><code>trim(String)</code></a>, 
<a
      href="http://www.w3.org/TR/xpath/#function-normalize-space">http://www.w3.org/TR/xpath/#function-normalize-space</a></dd></dl>
</li>
</ul>
<a name="endsWithAny(java.lang.CharSequence, java.lang.CharSequence...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>endsWithAny</h4>
<pre>public static&nbsp;boolean&nbsp;endsWithAny(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;string,
                  <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>...&nbsp;searchStrings)</pre>
<div class="block"><p>Check if a CharSequence ends with any of an array of specified strings.</p>

 <pre>
 StringUtils.endsWithAny(null, null)      = false
 StringUtils.endsWithAny(null, new String[] {"abc"})  = false
 StringUtils.endsWithAny("abcxyz", null)     = false
 StringUtils.endsWithAny("abcxyz", new String[] {""}) = true
 StringUtils.endsWithAny("abcxyz", new String[] {"xyz"}) = true
 StringUtils.endsWithAny("abcxyz", new String[] {null, "xyz", "abc"}) = true
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>string</code> - the CharSequence to check, may be null</dd><dd><code>searchStrings</code> - the CharSequences to find, may be null or empty</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the CharSequence ends with any of the the prefixes, case insensitive, or
  both <code>null</code></dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0</dd></dl>
</li>
</ul>
<a name="appendIfMissing(java.lang.String, java.lang.CharSequence, java.lang.CharSequence...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>appendIfMissing</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;appendIfMissing(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                     <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;suffix,
                     <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>...&nbsp;suffixes)</pre>
<div class="block">Appends the suffix to the end of the string if the string does not
 already end with any the suffixes.

 <pre>
 StringUtils.appendIfMissing(null, null) = null
 StringUtils.appendIfMissing("abc", null) = "abc"
 StringUtils.appendIfMissing("", "xyz") = "xyz"
 StringUtils.appendIfMissing("abc", "xyz") = "abcxyz"
 StringUtils.appendIfMissing("abcxyz", "xyz") = "abcxyz"
 StringUtils.appendIfMissing("abcXYZ", "xyz") = "abcXYZxyz"
 </pre>
 <p>With additional suffixes,</p>
 <pre>
 StringUtils.appendIfMissing(null, null, null) = null
 StringUtils.appendIfMissing("abc", null, null) = "abc"
 StringUtils.appendIfMissing("", "xyz", null) = "xyz"
 StringUtils.appendIfMissing("abc", "xyz", new CharSequence[]{null}) = "abcxyz"
 StringUtils.appendIfMissing("abc", "xyz", "") = "abc"
 StringUtils.appendIfMissing("abc", "xyz", "mno") = "abcxyz"
 StringUtils.appendIfMissing("abcxyz", "xyz", "mno") = "abcxyz"
 StringUtils.appendIfMissing("abcmno", "xyz", "mno") = "abcmno"
 StringUtils.appendIfMissing("abcXYZ", "xyz", "mno") = "abcXYZxyz"
 StringUtils.appendIfMissing("abcMNO", "xyz", "mno") = "abcMNOxyz"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - The string.</dd><dd><code>suffix</code> - The suffix to append to the end of the string.</dd><dd><code>suffixes</code> - Additional suffixes that are valid terminators.</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new String if suffix was appened, the same string otherwise.</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd></dl>
</li>
</ul>
<a name="appendIfMissingIgnoreCase(java.lang.String, java.lang.CharSequence, java.lang.CharSequence...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>appendIfMissingIgnoreCase</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;appendIfMissingIgnoreCase(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                               <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;suffix,
                               <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>...&nbsp;suffixes)</pre>
<div class="block">Appends the suffix to the end of the string if the string does not
 already end, case insensitive, with any of the suffixes.

 <pre>
 StringUtils.appendIfMissingIgnoreCase(null, null) = null
 StringUtils.appendIfMissingIgnoreCase("abc", null) = "abc"
 StringUtils.appendIfMissingIgnoreCase("", "xyz") = "xyz"
 StringUtils.appendIfMissingIgnoreCase("abc", "xyz") = "abcxyz"
 StringUtils.appendIfMissingIgnoreCase("abcxyz", "xyz") = "abcxyz"
 StringUtils.appendIfMissingIgnoreCase("abcXYZ", "xyz") = "abcXYZ"
 </pre>
 <p>With additional suffixes,</p>
 <pre>
 StringUtils.appendIfMissingIgnoreCase(null, null, null) = null
 StringUtils.appendIfMissingIgnoreCase("abc", null, null) = "abc"
 StringUtils.appendIfMissingIgnoreCase("", "xyz", null) = "xyz"
 StringUtils.appendIfMissingIgnoreCase("abc", "xyz", new CharSequence[]{null}) = "abcxyz"
 StringUtils.appendIfMissingIgnoreCase("abc", "xyz", "") = "abc"
 StringUtils.appendIfMissingIgnoreCase("abc", "xyz", "mno") = "axyz"
 StringUtils.appendIfMissingIgnoreCase("abcxyz", "xyz", "mno") = "abcxyz"
 StringUtils.appendIfMissingIgnoreCase("abcmno", "xyz", "mno") = "abcmno"
 StringUtils.appendIfMissingIgnoreCase("abcXYZ", "xyz", "mno") = "abcXYZ"
 StringUtils.appendIfMissingIgnoreCase("abcMNO", "xyz", "mno") = "abcMNO"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - The string.</dd><dd><code>suffix</code> - The suffix to append to the end of the string.</dd><dd><code>suffixes</code> - Additional suffixes that are valid terminators.</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new String if suffix was appened, the same string otherwise.</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd></dl>
</li>
</ul>
<a name="prependIfMissing(java.lang.String, java.lang.CharSequence, java.lang.CharSequence...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>prependIfMissing</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;prependIfMissing(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                      <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;prefix,
                      <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>...&nbsp;prefixes)</pre>
<div class="block">Prepends the prefix to the start of the string if the string does not
 already start with any of the prefixes.

 <pre>
 StringUtils.prependIfMissing(null, null) = null
 StringUtils.prependIfMissing("abc", null) = "abc"
 StringUtils.prependIfMissing("", "xyz") = "xyz"
 StringUtils.prependIfMissing("abc", "xyz") = "xyzabc"
 StringUtils.prependIfMissing("xyzabc", "xyz") = "xyzabc"
 StringUtils.prependIfMissing("XYZabc", "xyz") = "xyzXYZabc"
 </pre>
 <p>With additional prefixes,</p>
 <pre>
 StringUtils.prependIfMissing(null, null, null) = null
 StringUtils.prependIfMissing("abc", null, null) = "abc"
 StringUtils.prependIfMissing("", "xyz", null) = "xyz"
 StringUtils.prependIfMissing("abc", "xyz", new CharSequence[]{null}) = "xyzabc"
 StringUtils.prependIfMissing("abc", "xyz", "") = "abc"
 StringUtils.prependIfMissing("abc", "xyz", "mno") = "xyzabc"
 StringUtils.prependIfMissing("xyzabc", "xyz", "mno") = "xyzabc"
 StringUtils.prependIfMissing("mnoabc", "xyz", "mno") = "mnoabc"
 StringUtils.prependIfMissing("XYZabc", "xyz", "mno") = "xyzXYZabc"
 StringUtils.prependIfMissing("MNOabc", "xyz", "mno") = "xyzMNOabc"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - The string.</dd><dd><code>prefix</code> - The prefix to prepend to the start of the string.</dd><dd><code>prefixes</code> - Additional prefixes that are valid.</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new String if prefix was prepended, the same string otherwise.</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd></dl>
</li>
</ul>
<a name="prependIfMissingIgnoreCase(java.lang.String, java.lang.CharSequence, java.lang.CharSequence...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>prependIfMissingIgnoreCase</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;prependIfMissingIgnoreCase(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
                                <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;prefix,
                                <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>...&nbsp;prefixes)</pre>
<div class="block">Prepends the prefix to the start of the string if the string does not
 already start, case insensitive, with any of the prefixes.

 <pre>
 StringUtils.prependIfMissingIgnoreCase(null, null) = null
 StringUtils.prependIfMissingIgnoreCase("abc", null) = "abc"
 StringUtils.prependIfMissingIgnoreCase("", "xyz") = "xyz"
 StringUtils.prependIfMissingIgnoreCase("abc", "xyz") = "xyzabc"
 StringUtils.prependIfMissingIgnoreCase("xyzabc", "xyz") = "xyzabc"
 StringUtils.prependIfMissingIgnoreCase("XYZabc", "xyz") = "XYZabc"
 </pre>
 <p>With additional prefixes,</p>
 <pre>
 StringUtils.prependIfMissingIgnoreCase(null, null, null) = null
 StringUtils.prependIfMissingIgnoreCase("abc", null, null) = "abc"
 StringUtils.prependIfMissingIgnoreCase("", "xyz", null) = "xyz"
 StringUtils.prependIfMissingIgnoreCase("abc", "xyz", new CharSequence[]{null}) = "xyzabc"
 StringUtils.prependIfMissingIgnoreCase("abc", "xyz", "") = "abc"
 StringUtils.prependIfMissingIgnoreCase("abc", "xyz", "mno") = "xyzabc"
 StringUtils.prependIfMissingIgnoreCase("xyzabc", "xyz", "mno") = "xyzabc"
 StringUtils.prependIfMissingIgnoreCase("mnoabc", "xyz", "mno") = "mnoabc"
 StringUtils.prependIfMissingIgnoreCase("XYZabc", "xyz", "mno") = "XYZabc"
 StringUtils.prependIfMissingIgnoreCase("MNOabc", "xyz", "mno") = "MNOabc"
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - The string.</dd><dd><code>prefix</code> - The prefix to prepend to the start of the string.</dd><dd><code>prefixes</code> - Additional prefixes that are valid (optional).</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new String if prefix was prepended, the same string otherwise.</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd></dl>
</li>
</ul>
<a name="toString(byte[], java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString(byte[]&nbsp;bytes,
                         <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;charsetName)
                       throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/UnsupportedEncodingException.html?is-external=true" title="class or interface in java.io">UnsupportedEncodingException</a></pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>use <a href="../../../../org/apache/commons/lang3/StringUtils.html#toEncodedString(byte[], java.nio.charset.Charset)"><code>toEncodedString(byte[], Charset)</code></a> instead of String constants in your code</i></div>
<div class="block">Converts a <code>byte[]</code> to a String using the specified character encoding.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>bytes</code> - the byte array to read from</dd><dd><code>charsetName</code> - the encoding to use, if null then use the platform default</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new String</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/UnsupportedEncodingException.html?is-external=true" title="class or interface in java.io">UnsupportedEncodingException</a></code> - If the named charset is not supported</dd>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if the input is null</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.1</dd></dl>
</li>
</ul>
<a name="toEncodedString(byte[], java.nio.charset.Charset)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toEncodedString</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toEncodedString(byte[]&nbsp;bytes,
                     <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</a>&nbsp;charset)</pre>
<div class="block">Converts a <code>byte[]</code> to a String using the specified character encoding.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>bytes</code> - the byte array to read from</dd><dd><code>charset</code> - the encoding to use, if null then use the platform default</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new String</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if <code>bytes</code> is null</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2, 3.3 No longer throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/UnsupportedEncodingException.html?is-external=true" title="class or interface in java.io"><code>UnsupportedEncodingException</code></a>.</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/StringUtils.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/commons/lang3/StringEscapeUtils.html" title="class in org.apache.commons.lang3"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/apache/commons/lang3/SystemUtils.html" title="class in org.apache.commons.lang3"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/commons/lang3/StringUtils.html" target="_top">Frames</a></li>
<li><a href="StringUtils.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2001&#x2013;2014 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>
